What is the reason for example EmailAdressAttribute sets DefaultMessage in constructor while RequiredAttibute sets the ErrorMessageAccessor?
I think this is inconsequent and makes it harder to extend Validators with eg. a custom IValidationMetadataProvider.
What is the reason for example EmailAdressAttribute sets DefaultMessage in constructor while RequiredAttibute sets the ErrorMessageAccessor? I think this is inconsequent and makes it harder to extend Validators with eg. a custom IValidationMetadataProvider.