Skip to content

Last one wins flag providers #501

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

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Conversation

rossgrambo
Copy link
Contributor

Why this PR?

Updates the flag provider to handle duplicate flags by using the last flag instead of the first.

Visible Changes

  • For the Microsoft Feature Flag Schema - When there are duplicate feature flag ids- the last flag will be used. This allows multiple flag providers or multiple sources to load flags in a consistent way across languages.
    • This also aligns with the existing functionality in stable.
    • This change only affects the built-in ConfigurationFeatureDefinitionProvider, custom providers are still in charge of their ordering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants