Trying to override "required" tag validation but doesn't work #1019
Answered
by
andriantonee
andriantonee
asked this question in
Q&A
-
I'm trying to override |
Beta Was this translation helpful? Give feedback.
Answered by
andriantonee
Oct 31, 2022
Replies: 1 comment
-
after i check baked_in.go, i finally understand why
it use private struct |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
andriantonee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after i check baked_in.go, i finally understand why
required
tag is listed asrestrictedTags
.it use private struct
fl.(*validate).fldIsPointer
to validate.