[BUG] azure-spring-data-cosmos Query Methods always require Criteria inappropriately #40092
Labels
Client
This issue points to a problem in the data-plane of the library.
Cosmos
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Describe the bug
azure-spring-data-cosmos Query Methods(=Query Creation) always require Criteria. But it is not correct. Isn't it a bug?
For example:
Ref.: https://docs.spring.io/spring-data/commons/reference/repositories/query-methods-details.html#repositories.limit-query-result
Exception or Stack Trace
NPE on
AbstractQueryGenerator.generateQueryBody()
To Reproduce
Import azure-spring-data-cosmos:5.11.0 and create a repository and methods above.
Thank you.
The text was updated successfully, but these errors were encountered: