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: add test to illustrate non-Map interface passthrough #38

Closed vancluever closed 4 years ago

vancluever commented 5 years ago

This just adds a test to illustrate that a bare framework.Namespace that does not include framework.Map will be passed through the lower-level framework.Get method okay, which should make it available for conversion and subject to the same rules as any other struct.