-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Repository query keyword IS_EMPTY not supported #4606
Comments
True, the documentation is misleading as the repository sections lists the generic overview from data-commons which holds the entire list of supported keywords. Supporting I could imagine using an |
The documentation for repository query keywords (link) mentions support for the IsEmpty keyword, however, it fails with "Unsupported keyword" when used.
Steps to reproduce
0) spring initializr:
@SpringBootApplication
, add the code belowResult
Error creating bean 'accessRepo', caused by
org.springframework.beans.BeanInstantiationException
: Failed to instantiate [void]: Factory method 'accessRepo' threw exception with message: Unsupported keywordThe exception is thrown inside
org.springframework.data.mongodb.repository.query.from
(line number 254), because the switch-statement above (line 168) has no case forIS_EMPTY
, even though the keyword is defined inorg.springframework.data.repository.query.parser.Type
.The text was updated successfully, but these errors were encountered: