kingua

Results 2 comments of kingua

I think I figured this out: ``` public class AttachmentUploadValidator : AbstractValidator { public AttachmentUploadValidator() { RuleLevelCascadeMode = CascadeMode.Stop; RuleSet(ValidatorRuleSets.ClientRules, () => { RuleFor(attachment => attachment.AttachmentType) .NotEmpty() .When(attachment => MimeType.EquipmentInformation.ContainsValue(attachment.ContentType));...

The above seems to properly validate, but now I don't get the actual validation error message returned as validationResult is just a bool. Is there a way to get the...