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

eqField对于指针类型数据无法正确校验 #272

Open
ryanexo opened this issue Aug 12, 2024 · 0 comments
Open

eqField对于指针类型数据无法正确校验 #272

ryanexo opened this issue Aug 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ryanexo
Copy link

ryanexo commented Aug 12, 2024

System (please complete the following information):

  • OS: windows 11
  • GO Version: 1.2.2
  • Pkg Version: latest

Describe the bug

如题,eqField对于指针类型数据无法正确校验,

To Reproduce

type T struct {
    FieldA *string `validate:"required"`
    FieldB *string `validate:"eqField:FieldA"`
}
@inhere inhere added bug Something isn't working enhancement New feature or request labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants