Wrapping a call to RuleForEach
with WhenAsync
will trigger a AsyncValidatorInvokedSynchronouslyException
even when calling `ValidateAsync.
#1955
Milestone
FluentValidation version
11.0.2
ASP.NET version
No response
Summary
Wrapping a call to
RuleForEach
withWhenAsync
will trigger aAsyncValidatorInvokedSynchronouslyException
even when callingValidateAsync
.The
AsyncValidatorInvokedSynchronouslyException
should only be thrown when callingValidate
, neverValidateAsync
.Steps to Reproduce
The text was updated successfully, but these errors were encountered: