We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FluentValidation 验证Dto后,返回的错误信息不是WithMessage中自定义的信息。
The text was updated successfully, but these errors were encountered:
已发现问题 解决方案: FluentValidation 得用法是 RuleFor().NotEmpty().WithMessage().NotNull().WithMessage()....; 一个验证规则跟一个自定义验证错误提示信息 不能 RuleFor().NotEmpty().NotNull().....WithMessage();这么搞
Sorry, something went wrong.
No branches or pull requests
FluentValidation 验证Dto后,返回的错误信息不是WithMessage中自定义的信息。
The text was updated successfully, but these errors were encountered: