FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

getFeatureFlags on ConfigurationMapFeatureFlagProvider fails - Treats array as single object · Issue #74 · microsoft/FeatureManagement-JavaScript · GitHub

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

Description

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.

Activity

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

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


    Back | FazBrowse Home | New Git URL