fix(api): 🐛 breaking mediatr api change on PipelineBehavior constraint

This commit is contained in:
Collin M. Barrett 2022-01-22 09:56:50 -06:00
parent b4310d2352
commit d9a620e8d2

View file

@ -4,7 +4,7 @@
namespace FilterLists.Directory.Application.Validators;
internal class ValidatorPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
where TRequest : notnull
where TRequest : IRequest<TResponse>
{
private readonly IEnumerable<IValidator<TRequest>> _validators;