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

recurse when errors are govalidator.Errors inside govalidator.Errors #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

r00tkillah
Copy link

This fixes #4

@shiba-hiro
Copy link

Sorry for bothering you @jinzhu , but could you kindly check this PR?
(It seems you have merged PRs of this repo)

I faced the same problem when I tried to save the data including nesting twice on QOR Admin.
And actually this commit prevents panic and shows the appropriate message.
Without this fix, it causes panic and shows just "error" to the user.

@gonssal
Copy link

gonssal commented Dec 28, 2021

Please get this commited, I'm also having this issue with nested data.

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

Successfully merging this pull request may close these issues.

panic: interface conversion: error is govalidator.Errors, not govalidator.Error
3 participants