8000 panic occurs when passing nil · Issue #223 · gookit/validate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

panic occurs when passing nil #223

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

Closed
zKoz210 opened this issue Aug 1, 2023 · 7 comments
Closed

panic occurs when passing nil #223

zKoz210 opened this issue Aug 1, 2023 · 7 comments
Assignees
Labels
bug_fixed bug Something isn't working

Comments

@zKoz210
Copy link
zKoz210 commented Aug 1, 2023

System (please complete the following information):

  • OS: macOS
  • GO Version: 1.20
  • Pkg Version: 1.5.0 (master)

Describe the bug

panic: reflect: call of reflect.Value.Interface on zero Value [recovered]
	panic: reflect: call of reflect.Value.Interface on zero Value
``
zKoz210 added a commit to zKoz210/validate that referenced this issue Aug 1, 2023
@inhere
Copy link
Member
inhere commented Aug 1, 2023

Can provide a example for this bug.

@zKoz210
Copy link
Author
zKoz210 commented Aug 1, 2023

@inhere i make test #224

@inhere
Copy link
Member
inhere commented Aug 1, 2023

hi @zKoz210 can use the latest code on master.

@inhere inhere added the bug Something isn't working label Aug 1, 2023
@zKoz210 zKoz210 closed this as completed Aug 1, 2023
@zKoz210 zKoz210 reopened this Aug 3, 2023
@zKoz210
Copy link
Author
zKoz210 commented Aug 3, 2023

@inhere please check this test case #225

@trapcodeio
Copy link
trapcodeio commented Oct 10, 2023

Am currently facing this bug, any idea when it was introduced?

Even when i set validate="safe" it still tries to validate that field

@inhere
Copy link
Member
inhere commented Dec 13, 2023

hi @zKoz210 @trapcodeio bug fixed, will release on next version.

@inhere
Copy link
Member
inhere commented Jan 24, 2024

Please upgrade to https://github.com/gookit/validate/releases/tag/v1.5.2

@inhere inhere closed this as completed Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug_fixed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
0