Run all name validations in model instead of frontend
The following discussion from !22840 (merged) should be addressed:
-
@reprazent
started a discussion: (+3 comments)Do we also enforce these on the model?
Instead of only validating the name via pattern
, we should validate it on the model as well. This should be done with the migration to first_name
and last_name
in #13820 (closed)
We then could switch to model specs instead of relying on feature specs as we do right now.
Edited by Nicolas Dular