form-binder v0.10.0 Release Notes
Release Date: 2015-07-19 // over 8 years ago-
🔨 Code refactor inspired by
form-binder-java
:- remove
InputMode
as type parameter ofMapping
/Constraint
/PreProcessor
s. Currently all constraints/pre-processors can be applied to all mappings, and only checked it at runtime. touched checker
changed from list of names to a function of(name, data) => true|false
, which accepts current field name and data map, and return true if touched, and false if not touched.FormBinder
not hold constraints/pre-processors any more. Let's attach them to related mapping definitions if necessary.
!!!WRANING: some broken changes were introduced. But I don't want to list the details here, since they are not big changes, and you can find and fix it easily when upgrading.
- remove