Skip to content

KeyFilter applied to FeatureFlags #628

Description

After upgrading to 8.1.0 we realized that some of our FeatureFlags do not properly load anymore. Those AppConfiguration instances that do not work anymore all have a KeyFilter (other than KeyFilter.Any) defined. Those with no filter or KeyFilter.Any are fine. Workaround seems to be adding .appconfig.featureflag/* to the KeyFilters.

    .UseFeatureFlags()
    .Select("Prefix:*")
    .Select(".appconfig.featureflag/*"); // We need to add this line to load feature flags properly

These configs are purely Azure AppConfiguration related, no conflicting appconfig.json or other provider setting does exist. I validated by checking the behaviour of config.Providers[].Data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions