This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.07k
stars
1.19k
forks
source link
Feature flags are missing prop requirement_type after using parseFeatureFlag #31446
Hi @iPrytz, thank you for raising the issue. Please be patient as we take a look at it and get back to you as soon as possible. Please let us know if you have any questions in the meantime. Thank you!
Describe the bug I am consuming the app-configuration package to get feature flags from our App Config. Everyting works great to fetch the config and to use parseFeatureFlag. I get all the data exept for the property conditions.requirement_type. Here is the problem, only selecting conditions.client_filters : https://github.com/Azure/azure-sdk-for-js/blob/113b188eba7cc41cd79de8a7b6d886208c9e3165/sdk/appconfiguration/app-configuration/src/featureFlag.ts#L115
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the json data data.value.conditions.requirement_type to be inluded in the parsed object,
Screenshots This is the parsed json without using the built in parseFeatureFlag:
Additional context