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
Post a Comment