-
Notifications
You must be signed in to change notification settings - Fork 5k
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
CosmosDB Compound Index Sort Order returns incorrect case for CompositePathSortOrder
in Get
#11222
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wmengmsft, @MehaKaushik, @shurd, @anfeldma-ms |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @wmengmsft, @MehaKaushik, @shurd. |
Thanks for reporting this, we are investigating it. |
Hi @jackofallops Many thanks for reporting this. We have found out that our service is intended to return the lower case values, our swagger is wrongly documented. The same issue holds for IndexingMode (related issue Azure/azure-sdk-for-go#6603) I will keep this issue open and track it here until the next apiVersion is released. |
Just to update the fix will be released as a part of our upcoming apiVersion 2020-01-15 |
API Version: 2020-04-01
Line Reference:
azure-rest-api-specs/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json
Lines 7062 to 7069 in d43b10e
The API call returns
descending
orascending
, which does not match the Enum values ofDescending
andAscending
respectively, resulting in the need to add additional comparison / conversion code that should not be necessary.The text was updated successfully, but these errors were encountered: