OpenIdentity.FluentValidation.Blazor 3.0.0

Install-Package OpenIdentity.FluentValidation.Blazor -Version 3.0.0
dotnet add package OpenIdentity.FluentValidation.Blazor --version 3.0.0
<PackageReference Include="OpenIdentity.FluentValidation.Blazor" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenIdentity.FluentValidation.Blazor --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenIdentity.FluentValidation.Blazor, 3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenIdentity.FluentValidation.Blazor as a Cake Addin
#addin nuget:?package=OpenIdentity.FluentValidation.Blazor&version=3.0.0

// Install OpenIdentity.FluentValidation.Blazor as a Cake Tool
#tool nuget:?package=OpenIdentity.FluentValidation.Blazor&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Fluent Validation-powered Blazor component for validating standard <EditForm> 🌀 ✅

https://github.com/ryanelian/FluentValidation.Blazor/blob/master/README.MD

This library is a direct replacement to the default Blazor <DataAnnotationValidator> with zero configuration required ⚡️ in the application code base.

The <FluentValidation.FluentValidator> component automatically detects the Model data type used by the parent <EditForm> then attempts to acquire the corresponding FluentValidation.IValidator<T> for that model data type.

For this reason, in addition to coding the usual FluentValidation.AbstractValidator<T> Fluent Validation implementation, you are required to register the FluentValidation.IValidator<T> implementation in the Startup.cs Service Provider (Dependency Injection).

This effectively allows you, dear programmer, to inject required services to your validation implementations for writing amazing custom validation methods! 🔥

Validator parameter may also be passed directly to the component to inline the AbstractValidator implementation instead of relying on .NET Core DI.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 238 8/21/2020

Version 3.0.0 BREAKING CHANGES:
- Package is now compatible with ASP.NET Core Blazor 3.1 LTS (Server-Side) and 3.2 (WebAssembly)
- FluentValidation package is upgraded to version 9 due to popular demands. Make sure your project has FluentValidation version 9 also!