Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Microsoft feature flag schema #543

Closed
amerjusupovic opened this issue Apr 11, 2024 · 1 comment · Fixed by #556 or #566
Closed

Support Microsoft feature flag schema #543

amerjusupovic opened this issue Apr 11, 2024 · 1 comment · Fixed by #556 or #566
Milestone

Comments

@amerjusupovic
Copy link
Member

amerjusupovic commented Apr 11, 2024

The .NET Microsoft.FeatureManagement library began supporting the Microsoft feature flag schema in the version 3.2.0 release. The provider should follow this pattern and stop emitting the old .NET schema in favor of the Microsoft schema.

The next v8 release of the provider will consequently not work with older versions of the Microsoft.FeatureManagement library that still use the old schema. There should be a warning log on refresh of the provider that will inform the user that their package versions are conflicting if 8.0.0-preview.3 or later of the provider is used with any version of Microsoft.FeatureManagement that was released before 3.2.0.

@amerjusupovic amerjusupovic added this to the v8.0.0 milestone Apr 11, 2024
@amerjusupovic amerjusupovic changed the title Support only Microsoft feature flag schema for Microsoft.FeatureManagement Support only Microsoft feature flag schema Apr 11, 2024
@amerjusupovic
Copy link
Member Author

The provider should now support both schemas and will output them into configuration depending on what properties are used. If a feature flag does not contain any of the new properties added in v8 preview (variants, allocation, telemetry) then it will be processed using the old schema. Otherwise, it will use the new Microsoft schema linked above.

@amerjusupovic amerjusupovic changed the title Support only Microsoft feature flag schema Support Microsoft feature flag schema Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment