open-feature / dotnet-sdk

.NET implementation of the OpenFeature SDK
https://openfeature.dev
Apache License 2.0
61 stars 17 forks source link

Change EventMetadata type #234

Closed askpt closed 4 months ago

askpt commented 6 months ago

FlagMetadata and EventMetadata are shaped the same in the SDK:

I think for consistency, that means we should use the same type for these, which I guess would mean it should be a Dictionary<string, object>() unless there's some way we can bring them in line with your new implementation in a non-breaking way... maybe with extension methods?

Originally posted by @toddbaert in https://github.com/open-feature/dotnet-sdk/issues/223#issuecomment-1919756077