You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, there is a bug when there are two feature flags with the same name and different keys.
Here, we have two Beta feature flags with different keys.
The beta1 has a time window filter and the beta2 has a targeting filter. The .NET provider will produce such configuration:
You can see there is one Beta feature flag with two feature filters in the configuration.
The example I provided above is not a valid use case, but it illustrates the bug well.
Assuming that the user has a feature flag in a snapshot and there is another feature flag with the same name but different settings in the app config store (this could be a valid use case), this bug might cause some strange behaviors.
The text was updated successfully, but these errors were encountered:
Currently, .NET provider will not dedupe feature flag based on id. It just overwrites the previous one.
The implementation details can be found here: https://github.com/Azure/AppConfiguration-DotnetProvider/blob/main/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/FeatureManagement/FeatureManagementKeyValueAdapter.cs#L35
Then, there is a bug when there are two feature flags with the same name and different keys.
Here, we have two Beta feature flags with different keys.
The beta1 has a time window filter and the beta2 has a targeting filter. The .NET provider will produce such configuration:
You can see there is one Beta feature flag with two feature filters in the configuration.
The example I provided above is not a valid use case, but it illustrates the bug well.
Assuming that the user has a feature flag in a snapshot and there is another feature flag with the same name but different settings in the app config store (this could be a valid use case), this bug might cause some strange behaviors.
The text was updated successfully, but these errors were encountered: