-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should the single-value parameters (on Feature Filters) be serialized as arrays ? #27
Comments
Is there an easy/recommended way to avoid the above issue when configuring the "AllowedBrowsers" parameter in Azure App Configuration UI, as provided in this example: appsettings.json ?
To obtain the same array of values ["Chrome", "Edge"] as per above example of appsettings.json, the customer has to configure the parameter "AllowedBrowsers" twice in Azure App Configuration UI.
|
Related to Azure/AppConfiguration#147. The only way to avoid this before we revamp this UI to have more intuitive support for arrays is to suffix the array element with it's position in the array. E.g. It is on our to-do list to make this more user friendly. At this point it's very hard to work with arrays like this since managing indexes is a lot of overhead. |
Arrays are supported now. Azure/AppConfiguration#147 |
In Azure App Configuration, when defining a feature with a feature filter that has one parameter then that parameter is serialized as single-value.
In the below example if we use the above model for deserialization then the parameter "Allowed" is deserialized but "Blocked" is not.
Observations:
ISSUE: The developer has to implement a JSONConverter to handle both scenarios, which is not nice.
Is this something that can be improved from Azure App Configuration portal UI ?
The text was updated successfully, but these errors were encountered: