dotnet-sdk-contrib
dotnet-sdk-contrib copied to clipboard
Metadata not exposed
OpenFeature has a metadata field exposed via Get{Boolean,Variant}Details(), but FliptToOpenFeatureConverter.EvaluateAsync does not propagate flag metadata from Flipt's metadata key in a flag:
For example:
- key: test
name: test
type: BOOLEAN_FLAG_TYPE
enabled: true
metadata:
configKey: dynamicValueThatIsEnabled
It would be great to be able to get to the metadata object via the FlagEvaluationDetails.FlagMetadata.
You can work around this using Variant types and attachments, but this is much cleaner.
FYI @markphelps
thanks @beeme1mr and @chris-edstrom ! I agree this would be nice. I dont currently have the bandwidth to add this in the dotnet adapter. Are you or anyone with more dotnet experience than myself able to contribute?