Skip to content

docs: Clarify Binder bind(String) does not add BeanValidator #19423 - #25471

Merged
mcollovati merged 2 commits into
vaadin:mainfrom
AzazelSensei:fix-19423-binder-javadoc
Sep 4, 2026
Merged

mcollovati merged 2 commits into
vaadin:mainfrom
AzazelSensei:fix-19423-binder-javadoc

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

Binder.bind(String) and BindingBuilder.bind(String) said a BeanValidator is added whenever JSR-303 is on the classpath. That only happens with BeanValidationBinder.

I updated those four javadocs.

Fixes #19423

Regular Binder only resolves the bean property. JSR-303
validators are added by BeanValidationBinder.

Fixes vaadin#19423
mcollovati
mcollovati previously approved these changes Sep 3, 2026
@mcollovati

Copy link
Copy Markdown
Contributor

@AzazelSensei formatting is needed, please run mvn spotless:apply and push the changes

@AzazelSensei

Copy link
Copy Markdown
Contributor Author

Ran mvn spotless:apply and pushed.

@mcollovati mcollovati changed the title Clarify Binder bind(String) does not add BeanValidator #19423 docs: Clarify Binder bind(String) does not add BeanValidator #19423 Sep 4, 2026
@mcollovati
mcollovati added this pull request to the merge queue Sep 4, 2026
Merged via the queue into vaadin:main with commit 43f7e94 Sep 4, 2026
109 of 113 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contribution PRs coming from the community or external to the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Binder.BindingBuilder.bind(String) Javadoc falsely claims automatic JSR-303 support

2 participants