This is a demonstration of the bug described in DATAMONGO-1229. The repository generator supports
using IgnoreCase
with a nested field, but actually querying it results in an exception.
Launch the application and load http://localhost:8080/email/[email protected]. The queried object will be returned normally. Load http://localhost:8080/emailIgnoreCase/[email protected], and the repository will throw an exception.