The validation would be failed if the Id field is empty string in the update DTO. It should pass the validation if the name is provided.