Dekiru.FluentValidation 1.0.9

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dekiru.FluentValidation --version 1.0.9                
NuGet\Install-Package Dekiru.FluentValidation -Version 1.0.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dekiru.FluentValidation" Version="1.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dekiru.FluentValidation --version 1.0.9                
#r "nuget: Dekiru.FluentValidation, 1.0.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dekiru.FluentValidation as a Cake Addin
#addin nuget:?package=Dekiru.FluentValidation&version=1.0.9

// Install Dekiru.FluentValidation as a Cake Tool
#tool nuget:?package=Dekiru.FluentValidation&version=1.0.9                

Root validator for FluentValidation

This library provides an extension method that locates and registers all validators in your application, so you don't have to do it manually. A validator is any class that implements AbstractValidator<T>, where T is the type of the object to validate.

It also exposes a RootValidator class that you can use to validate your objects, without having to know the specific validator for that object. Once materialized from the DI container, it can be used to validate any object that has a validator registered.

This is done by calling await myRootValidator.Validate(myObject) or await myRootValidator.ValidateAndThrow(myObject). If no validator exists for the type, it is considered valid.

The default behavior is to not only use validators for the exact type of the object, but also for all its base types. This can be disabled by passing false to the useBaseTypeValidators parameter of either of the validation methods.

This library is built on top of FluentValidation.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Dekiru.FluentValidation:

Package Downloads
Dekiru.Conduit

A minimalist library for building pipelines

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.10.0 124 11/15/2024
8.1.0 390 8/13/2024
6.1.0 181 8/13/2024
1.0.12 312 5/6/2024
1.0.11 407 4/21/2024
1.0.10 129 4/18/2024
1.0.9 106 4/18/2024
1.0.8 186 4/12/2024
1.0.6 104 4/12/2024
1.0.5 103 4/12/2024
1.0.4 105 4/12/2024
1.0.3 111 4/12/2024
1.0.2 166 4/2/2024
1.0.1 117 4/2/2024
1.0.0 124 3/29/2024 1.0.0 is deprecated because it has critical bugs.