Skip to content

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
Member

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
@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.

3 participants