-
Notifications
You must be signed in to change notification settings - Fork 66
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
Support single-value arrays #147
Comments
It's actually unintended that it works when @MSGaryWang perhaps we could improve this functionality so that we add UI support for making arrays intuitive? |
Thanks for that, I will try with the index suffix |
Array support is what's preventing me from using this feature today. I'm really excited about this feature though so I'll keep an eye out for this to get completed so that I can refactor my app to use it eventually. But for now, the current handling of arrays just won't work for me due to 3rd party packages expecting an array of values. So while the suffix index works for individual retrieval, if I have a dependency that expects an array, it just breaks as it is today. |
The user interface on the azure website is not intuitive when inputting array values. There are a few problems that need to be addressed.
|
This doesn't seem to work for Azure App Service configurations, I still have to use the index notation for this to be picked up. What would be required to apply this to an Azure App Service? |
Hi @binkiesjoris |
@jiayi11 sorry for the confusion. I am NOT using App configurations with App Services. I have a App Service with an application setting of type array and was wondering if the fix discussed in this issue also applied to application settings for an App Service. I.e. I have a setting defined like this in appsettings.json: and would like to use the "x:y" = "[v1, v2]" notation in the Configuration section of the Azure portal, but instead, I have to use "x:y:0" = "v1" and "x:y:1" = "v2" for it to work. |
Hi @binkiesjoris This repo is for Azure App Configuration service and the thread is discussing feature filters. From your response you might be looking to reach App Service team. |
I have implemented a custom filter using the IFeatureFilter interface and one of the Feature Settings parameter is a string array. In the Azure portal if I assign multiple values for the parameter then the array will return the correct values in the .NET app but if I only have one value then the string array returns null
When the Azure Portal is configure like this then Environments will contain [Development, Integration]
![image](https://user-images.githubusercontent.com/18320804/65556189-c46b4500-defc-11e9-9c57-db78ed085e16.png)
If I only have one value as below then the value of Environments is null
![image](https://user-images.githubusercontent.com/18320804/65556367-58d5a780-defd-11e9-86a8-affa0ebb3c13.png)
The text was updated successfully, but these errors were encountered: