Im trying to figure out the best way to do the following:
I have a Users rest controller with a mapping to update a user. User has name, email and phone number. I have 3 validation functions to validate each field. what will be the best way to validate the user before updating it? In case 2 of the properties are invalid i would expect to get an error on both