Open davidsowerby opened 7 years ago
Build this on top of easyBinder
Apache BVal team seems to be working on implementing Java Bean Validation 2.0 http://bval.apache.org/board-reports/2018-03.html#activity
There is also a dedicate branch on github repository https://github.com/apache/bval/tree/bv2
Vaadin 8 made some improvements to Form support, primarily with the
Binder
class, but there is opportunity to extend that further.Substantial changes would be needed, however. First thoughts on design ...
The binder and related actors should:
Field
to the entity property asBinder
does nowField
locale toCurrentLocale
An entity should:
Major changes:
Apache BVal does not seem to have a JSR 380 implementation - worth checking again, but if not, integration with Hibernate Validator will be needed. (possible example)
Binder
does some of this, but some of it is hard to integrate with. A replacement may be necessary.