Closed lacikaaa closed 2 years ago
@weidongxu-microsoft @jianghaolu could you take a look? it's a pretty small improvement/fix. thanks
@lacikaaa
Thanks for the contribution. I think PR is good. However the lib is in maintenance mode, and there is no schedule on the next version to be released. New lib would be here https://azure.github.io/azure-sdk/releases/latest/java.html
@srnagar for awareness.
thanks for the merge and information @weidongxu-microsoft
…n array
For single values the API might return with a single value instead of an array with one element. In that case the following error is produced:
eg:
"targetValue":"Microsoft.Resources/subscriptions/resourceGroups"
is received instead of"targetValue":["Microsoft.Resources/subscriptions/resourceGroups"]
In this commit:
@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
is added toExpressionEvaluationDetails#targetValue