How do we add a validation handler into the pipeline of the Meditr #310
Unanswered
sokrethchhem
asked this question in
Q&A
Replies: 1 comment 6 replies
-
This blazor-state librarie is great. I just need setup in the MediatR and I have my validation handle. services.AddValidatorsFromAssembly(Assembly.GetExecutingAssembly());
services.AddBlazorState
(
(aOptions) => aOptions.Assemblies =
new Assembly[]
{
typeof(Program).GetTypeInfo().Assembly,
}
);
services.AddTransient(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>)); |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do we add a validator handle into the pipeline with Blazor-State?
Beta Was this translation helpful? Give feedback.
All reactions