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

Exclude feature flags from loaded settings #55

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

Eskibear
Copy link
Member

@Eskibear Eskibear commented Apr 8, 2024

Context information

According to Feature Management design, the loaded key-values should be:

  • FM is enabled: feature flags are included as a whole, under "feature_management" key.
  • FM is not enabled: feature flags are excluded.

Current behavior

Feature flags will be loaded and treated as JSON objects if customer specifies proper selectors, e.g. keyFilter: " .appconfig.featureflag/*"

Expected behavior

Before FM is supported, the default behavior should be consistent with FM is disabled. We should exclude feature flags.
This will avoid future breaking change.

@zhiyuanliang-ms
Copy link
Contributor

Will it be a separated PR to add feature flag option (the example usage in the design doc of JS FM)?

@Eskibear
Copy link
Member Author

Eskibear commented Apr 8, 2024

@zhiyuanliang-ms Yes, there will be a separate PR supporting FM. That will not be included in 1.0.0-preview.

@Eskibear Eskibear merged commit e8a5c7c into main Apr 10, 2024
3 checks passed
@Eskibear Eskibear deleted the yanzh/exclude-ff branch April 10, 2024 05:59
Eskibear added a commit that referenced this pull request Apr 10, 2024
* Update example to explicitly enable refresh (#54)

* Fix typos (#56)

* Exclude feature flags from loaded settings (#55)
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.

None yet

2 participants