If we refer to ASP.NET MVC sources, DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes checked only in the DataAnnotationsModelValidatorProvider.Getvalidators method , which provides validation metadata for HTML HTML helpers (when rendering the attributes DataModel *).
Thus, DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes can be set when it is necessary to change the client-side validation behavior and allow the transmission of empty values โโ(that is, the field is published, but does not matter) for the value types for the controller action.
source share