You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated code is trying to call setUseSingleResult() on the access object, which is declared in FindByConditionAccess2, butMongoDbFindByConditionAccessImpl implements FindByConditionAccess rather than FindByConditionAccess2, and doesn't include this method.
We should either support the the setUseSingleResult() method or give a validation error.
The text was updated successfully, but these errors were encountered:
MongoDB-based generated finders don't support specifying a single object return type, but no warning or validation error is given.
See Advanced Tutorial - Based on findByCondition
The generated code is trying to call
setUseSingleResult()
on the access object, which is declared inFindByConditionAccess2
, butMongoDbFindByConditionAccessImpl
implementsFindByConditionAccess
rather thanFindByConditionAccess2
, and doesn't include this method.We should either support the the
setUseSingleResult()
method or give a validation error.The text was updated successfully, but these errors were encountered: