-
Notifications
You must be signed in to change notification settings - Fork 108
Use Sort
object in "delete by query"
#5143
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
Conversation
Hello @ramikg, thank you for you interest in contributing to the spec! |
Oops, I've missed that the I tried using the |
57c6eb1
to
6d06941
Compare
@ramikg thanks for checking! I've done a bit of digging and this seems to be part of a larger issue, where |
Thank you! By the way, this seems to be the case for "update by query" as well (and perhaps for additional APIs). |
(cherry picked from commit 380cde2) Co-authored-by: Rami <[email protected]>
(cherry picked from commit 380cde2) Co-authored-by: Rami <[email protected]>
(cherry picked from commit 380cde2) Co-authored-by: Rami <[email protected]>
(cherry picked from commit 380cde2) Co-authored-by: Rami <[email protected]>
We've investigated this a bit more and found out that the |
…5173) This reverts commit 380cde2. (cherry picked from commit 00fe735) Co-authored-by: Laura Trotta <[email protected]>
…5174) This reverts commit 380cde2. (cherry picked from commit 00fe735) Co-authored-by: Laura Trotta <[email protected]>
…5175) This reverts commit 380cde2. (cherry picked from commit 00fe735) Co-authored-by: Laura Trotta <[email protected]>
…5176) This reverts commit 380cde2. (cherry picked from commit 00fe735) Co-authored-by: Laura Trotta <[email protected]>
Could you please elaborate? I may be missing something, but in my tests it seems that the
After running the commands above, the remaining amounts were {3, 4, 5}, and then when I deleted again with |
@ramikg ah that's how! sorry I was testing with |
Co-authored-by: Rami <[email protected]>
Co-authored-by: Rami <[email protected]> (cherry picked from commit 18cb83c)
Co-authored-by: Rami <[email protected]> (cherry picked from commit 18cb83c)
Co-authored-by: Rami <[email protected]> (cherry picked from commit 18cb83c)
Co-authored-by: Rami <[email protected]> (cherry picked from commit 18cb83c)
(cherry picked from commit 18cb83c) Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Rami <[email protected]>
(cherry picked from commit 18cb83c) Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Rami <[email protected]>
(cherry picked from commit 18cb83c) Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Rami <[email protected]>
(cherry picked from commit 18cb83c) Co-authored-by: Laura Trotta <[email protected]> Co-authored-by: Rami <[email protected]>
The delete by query API's
sort
property supports theSort
object:But the property's type does not reflect this fact.This PR changes the type ofsort
fromstring[]
to the more generalSort
object (as used by the search API):But the body is missing the sort parameter, this PR adds it as
Sort
object.