Introduction
ExpressValidator is a library that provides the ability to validate objects using the FluentValidation library, but without object inheritance from AbstractValidator.
Key Features
- Easy on-the-fly creation of object validator class called
ExpressValidatorby usingExpressValidatorBuilder. - Possibility to dynamically change the parameters of the
FluentValidationvalidators (since version 0.0.21). - Supports adding a property or field for validation.
- Verifies that a property expression is a property and a field expression is a field, and throws
ArgumentExceptionif it is not. - Supports adding a
Functhat provides a value for validation. - Supports asynchronous validation.
- Targets .NET Standard 2.0+