When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object
In
|
export function validateFeatureFlag(featureFlag: any): void { |
In featureProvider.ts
|
async getFeatureFlag(featureName: string): Promise<FeatureFlag | undefined> { |
The same validateFeatureFlag function is called with both a single FeatureFlag and array of FeatureFlag but the function doesn't handle arrays.

Reactions are currently unavailable
When calling getFeatureFlags on ConfigurationMapFeatureFlagProvider the call fails becaus the code call treats array as single object
In
FeatureManagement-JavaScript/src/schema/validator.ts
Line 8 in 8fe0efd
In featureProvider.ts
FeatureManagement-JavaScript/src/featureProvider.ts
Line 30 in 8fe0efd
The same validateFeatureFlag function is called with both a single FeatureFlag and array of FeatureFlag but the function doesn't handle arrays.