Repository query keyword IS_EMPTY not supported #4606
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
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: