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

Update FeatureManagement with V3 release notes #824

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

rossgrambo
Copy link
Member

No description provided.

@rossgrambo rossgrambo requested a review from jimmyca15 October 27, 2023 21:31
@rossgrambo rossgrambo merged commit 353e00b into main Oct 27, 2023
The following passage describes the process of selecting a filter when a contextual and non-contextual filter of the same name are registered in an application.

Let's say we have a non-contextual filter called FilterA and two contextual filters FilterB and FilterC which accept TypeB and TypeC contexts respectively. All of three filters share the same alias "SharedFilterName".
We also have a feature flag "MyFeature" which uses the feature filter "SharedFilterName" in its configuration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update "we" to "you" for all occurrences (above and below)

If all of three filters are registered:
When we call IsEnabledAsync("MyFeature"), the FilterA will be used to evaluate the feature flag.
When we call IsEnabledAsync("MyFeature", context), if context's type is TypeB, FilterB will be used and if context's type is TypeC, FilterC will be used.
When we call IsEnabledAsync("MyFeature", context), if context's type is TypeF, FilterA will be used.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All mixed in one line in md. You may want to add bullet points in front of each line.

@rossgrambo
Copy link
Member Author

PR to fix comments: https://github.com/Azure/AppConfiguration/pull/826/files

@zhenlan zhenlan deleted the rossgrambo-readme-update branch April 15, 2024 18:26
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