Open
Description
In the documentation we see that it is possible to manage nullability for the repository methods. Look at section 9.4.7 Null Handling of Repository Methods.
While it works for simple methods like:
User findByEmailAddress(@Nullable EmailAddress emailAdress);
The same approach will cause an error for "Containing" kind of methods:
User findByFirstnameContaining(@Nullable String name)
If I call this method with null name
I get this error: "message": "Argument for creating $regex pattern for property 'section' must not be null!"
I think the more appropriate solution would be omitting any null input parameter during query building phase.