hashicorp / sentinel-sdk

This SDK allows developers to extend Sentinel to source external information for use in their policies.
Mozilla Public License 2.0
51 stars 13 forks source link

framework: ensure new map copy logic works for non-string keys #46

Closed vancluever closed 4 years ago

vancluever commented 4 years ago

Issue #45 incorrectly assumed all maps coming from return data would be string-keyed. This is not the case.

This fixes things to allow for non-string-keyed values to be returned. We still use a hard interface{} as the value type.