1

Microsoft's feature management documentation implies that the correct format for config for feature management is the following:

{
    "feature_management": {
        "feature_flags": [
            {
                "id": "Feature1",
                "enabled": false
            }
        ]
    }
}

Which are challenging to override in EnvironmentVariables etc ... you'd need

  • feature_management__feature_flags__0__id: Feature1

  • feature_management__feature_flags__0__enabled: false

Is there an alternative format?

1 Answer 1

0

Yes, you can use:

{
    "FeatureManagement": {
        "Feature1": false
    }
}

Which can be overrided using:

  • FeatureManagement__Feature1: false

If you want the extensibility features, these work as below:

{
    "FeatureManagement": {
        "Feature1": {
            "EnabledFor": [
                "Name": "Foo",
                "Parameters": [ "Bar" ... ]
            ]
        }
    }
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.