Skip to content
New issue

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

Add rules to ValidateError #313

Open
07akioni opened this issue Jul 10, 2022 · 1 comment
Open

Add rules to ValidateError #313

07akioni opened this issue Jul 10, 2022 · 1 comment

Comments

@07akioni
Copy link

Currently it's not possible to get any relevant information of violated rules in ValidateError.

That means it's not possible to implement some features such as log label of a field which has validation error.

@cwjTerrace
Copy link

I think Rules needs to add a field called state. When it returns an error, it will be returned as result, refer to Auth2.0
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants