Skip to content

getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object #74

Closed
@strickie

Description

@strickie

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.

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions