how to generically log enumerable context data in azure apim? -


do have way generically log enumerable context data in azure apim? example, policy includes context.api.protocols returns:

  context.api.protocols: system.collections.immutable.immutablearray`1[     system.string   ] 

however, want policy return list of actual protocols instead of type. there generic code statements or expressions can include in policy this?

there nothing built-in can think of, best bet string.join call:

string.join(", ", context.protocols) 

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -