Update FluentObjectValidationContributor.cs

fixed validationErrors members
pull/2441/head
兜小神 6 years ago committed by GitHub
parent dfb5841133
commit c4e28c127d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ namespace Volo.Abp.FluentValidation
context.Errors.AddRange(
result.Errors.Select(
error =>
new ValidationResult(error.ErrorMessage)
new ValidationResult(error.ErrorMessage, new []{error.PropertyName})
)
);
}

Loading…
Cancel
Save