-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fixing bug with ARRAY_CONTAINS in annotated queries. #31179
Fixing bug with ARRAY_CONTAINS in annotated queries. #31179
Conversation
… tests to prevent further regressions.
...os/src/main/java/com/azure/spring/data/cosmos/repository/support/StringBasedCosmosQuery.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @trande4884 , however the PR description mentions the unit tests. Couldn't find them in the PR. Can you please point to those?
...os/src/main/java/com/azure/spring/data/cosmos/repository/support/StringBasedCosmosQuery.java
Outdated
Show resolved
Hide resolved
Fixing comment and code style check.
...test/src/test/java/com/azure/spring/data/cosmos/repository/integration/AnnotatedQueryIT.java
Show resolved
Hide resolved
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/check-enforcer override |
Isn't the same fix required for StringBasedReactiveCosmosQuery.java ? |
@maximdomentii valid point, @trande4884 can you please port this for reactive repository as well, thanks! |
@maximdomentii I will get this done, it can be tracked here: #33764 |
Description
Fixing bug with ARRAY_CONTAINS in annotated queries. Adding more integration tests to prevent further regressions. This bug was introduced by fixing the IN clause with annotated queries. There are now integration tests for both IN and ARRAY_CONTAINS annotated queries to prevent future regressions.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines