GetoXs / MediatR.Extensions.FluentValidation.AspNetCore

MediatR extension to FluentValidation for .NET framework
MIT License
65 stars 6 forks source link

RuleForEach(x => x.items).SetValidator(new ItemValidator()) not validating #7

Closed WijanRuiz closed 3 years ago

WijanRuiz commented 3 years ago

Hi, first of all thank you for your work, that package is so usefull.

Now the problem. I'm trying to validate a collection of DTOs with RuleForEach and setting a validator of another class with SetValidator and is not detecting the validation.

If I try to validate inside the Handler manually is working perfect.

GetoXs commented 3 years ago

@WijanRuiz is this case still a problem? You closed issue.