Nuget version affected: 4.2.0 (worked in 4.0.0 until nuget updated)
In my Program.cs:
builder.Services.AddFeatureManagement(builder.Configuration.GetSection("FeatureFlags"));
GetSection confirmed to retrieve the configuration from appsettings.json which is:
"FeatureFlags": { "UseReecoUsers": true }
but when calling IsEnabledAsync with the manager I received the following log:
"The feature definition for the feature 'UseReecoUsers' was not found"
When changing the feature flag section to:
"FeatureManagement": { "UseReecoUsers": true }
and changing the line in Program.cs to:
builder.Services.AddFeatureManagement(/*builder.Configuration.GetSection("FeatureFlags")*/);
it identifed the feature flag.
Nuget version affected: 4.2.0 (worked in 4.0.0 until nuget updated)
In my Program.cs:
builder.Services.AddFeatureManagement(builder.Configuration.GetSection("FeatureFlags"));GetSectionconfirmed to retrieve the configuration from appsettings.json which is:"FeatureFlags": { "UseReecoUsers": true }but when calling IsEnabledAsync with the manager I received the following log:
"The feature definition for the feature 'UseReecoUsers' was not found"
When changing the feature flag section to:
"FeatureManagement": { "UseReecoUsers": true }and changing the line in Program.cs to:
builder.Services.AddFeatureManagement(/*builder.Configuration.GetSection("FeatureFlags")*/);it identifed the feature flag.