Socket
Book a DemoInstallSign in
Socket

Accelist.FluentValidation.Blazor

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Accelist.FluentValidation.Blazor

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.

Source
nugetNuGet
Version
4.0.0
Version published
Maintainers
2
Created
The README file is missing

Keywords

FAQs

Package last updated on 13 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts