flow icon indicating copy to clipboard operation
flow copied to clipboard

BeanValidationBinder should understand fluent setters.

Open Traivor opened this issue 5 years ago • 0 comments

When a bean, such as a JPA entity, implements fluent setters

public Node setName(String name) { this.name = name; return this; }

Trying to bind it with the property name fails with:

"name does not have an accessible setter"

It would be really nice for the binder to handle this properly. I'm using Vaadin 14.1.17.

Traivor avatar Feb 14 '20 01:02 Traivor