Skip to content

fix evaluation: FeatureFlag.enabled defaults to false - #11

Merged
Yan Zhang (Eskibear) merged 2 commits into
mainfrom
yanzh/fix-evaluation
May 23, 2024
Merged

fix evaluation: FeatureFlag.enabled defaults to false#11
Yan Zhang (Eskibear) merged 2 commits into
mainfrom
yanzh/fix-evaluation

Conversation

@Eskibear

Copy link
Copy Markdown
Member

According to latest schema, FeatureFlag.enabled should be false by default. This PR fixes the evaluation logic and adds test cases.

Schema:
https://github.com/Azure/AppConfiguration/blob/d0ef7d5507b9cee15893eead5861e3b1a82d3efd/docs/FeatureManagement/FeatureFlag.v2.0.0.schema.json#L43-L49

Comment thread test/noFilters.test.ts
Comment thread src/featureManager.ts
@Eskibear
Yan Zhang (Eskibear) merged commit c541c29 into main May 23, 2024
@Eskibear
Yan Zhang (Eskibear) deleted the yanzh/fix-evaluation branch May 23, 2024 02:46
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