-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Resolving "Validating unexported fields #417" #1234
Resolving "Validating unexported fields #417" #1234
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
I still have to review carefully, new laptop still in the mail so be a bit, but due to the use of unsafe I will request that this needs to become an opt-in option when initializing validator and documentation can indicate that and that opting in accepts that risk.
@deankarn thanks for your proposal, it looks valid. Changes added. |
@deankarn if I can speed up the review process, let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I will add a little more to the opt-in function comment but code looks great!
…ound#1234) go-playground#417 @go-playground/validator-maintainers --------- Co-authored-by: nikolay <[email protected]>
Add supporting for validation private fields #417
@go-playground/validator-maintainers