-
Notifications
You must be signed in to change notification settings - Fork 48
"mandatory" null validation is not working #575
Copy link
Copy link
Description
See
Line 924 in 1c5c361
| $m->set('c', null); // @TODO even "b"/mandatory field should fail! |
b/mandatory field should throw when null is set like the c/required field there.
As confirmed by @DarkSide666, the set() method is expected to fully normalize/validate the field at the time of setting the value (ie. immediatelly as required does).
Considering this as a Major as this is core functionality and many developers may rely on that.
Reactions are currently unavailable