We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BeanValidationBinder works only when bind is called with property name and not with method references.
binder.bind(nameField, "name"); --> this works
binder.bind(nameField, "name");
binder.forField(nameField).bind(PersonData::getName, PersonData::setName); --> this does not work
binder.forField(nameField).bind(PersonData::getName, PersonData::setName);
This is an expected behaviour as method references can't be used to identify the property
This is a valuable information and should be mentioned in the docs
If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
BeanValidationBinder works only when bind is called with property name and not with method references.
binder.bind(nameField, "name");
--> this worksbinder.forField(nameField).bind(PersonData::getName, PersonData::setName);
--> this does not workThis is an expected behaviour as method references can't be used to identify the property
This is a valuable information and should be mentioned in the docs
If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.
The text was updated successfully, but these errors were encountered: