C# (CSharp) FluentValidation.WebApi Namespace

Classes

Name Description
FluentValidationBodyModelValidator Recursively validate an object. Is just a copy of the DefaultBodyModelValidator but includes a "patch" for the FluentValidationModelValidator When the whole model is validated the errors get added to the ModelState grouped by property instead of all under the model. It also changes the check of previous errors to avoid missing error messages when there are bind errors If the FluentValidationModelValidator is not used to validate, fallbacks to the DefaultBodyModelValidator behaviour Another difference is that the IModelValidatorCache had to be removed because it's internal to the asp net framework (affects performance but not the behaviour)
FluentValidationBodyModelValidator.ElementScope
FluentValidationBodyModelValidator.PropertyScope
FluentValidationBodyModelValidator.ValidationContext