Closed robsch closed 7 years ago
Often you need to serialize an attribute not from the POST, so validation rules are not the place to configure serialization. Also, I think it’s not good idea to check length of serialized data using validation rules. These rules are for user‘s input validation, not for internal constraints checking.
Okay, I see and I think you're right.
It would be nice if one could also specify a special rule four such fields. Now I have to use safe for such fields.
E.g.:
With max it could be checked that the string won't get truncated.