diff --git a/samples/02-FluentValidation/FluentValidationSample/FluentValidators/PersonValidator.cs b/samples/02-FluentValidation/FluentValidationSample/FluentValidators/PersonValidator.cs index c746de0..3b08f50 100644 --- a/samples/02-FluentValidation/FluentValidationSample/FluentValidators/PersonValidator.cs +++ b/samples/02-FluentValidation/FluentValidationSample/FluentValidators/PersonValidator.cs @@ -11,7 +11,7 @@ public class PersonValidator : AbstractValidator public PersonValidator() { RuleFor(x => x.Salutation) - .Cascade(CascadeMode.StopOnFirstFailure) + .Cascade(CascadeMode.Stop) .NotEmpty() .MustAsync(LongRunningAsyncMethod).WithMessage("Cannot be DR"); RuleFor(x => x.GivenName).NotEmpty();