-
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
Add ability to validate map data #752
Conversation
Thanks for the PR @zytell3301 My only request would be that it support nested data. This looks great for flat data structures but not sure how you could apply validations for nested data. Thoughts? |
I think i've found a solution for it. I'll push the changes after I implemented it. Thanks for your attention @deankarn and apologies for any mistakes in PR or commits. |
Hi. I just implemented validating nested maps. But cross-field validation and keys validation is missing for now. Please check the updates. |
Add ability to validate map data based on map validation rules.
In some frameworks like kataras/iris, they return a map of form values.
So it is hard to validate data that is not in struct form. So we can easily provide the data
itself and validation rules in form of map to have an easier data validation
@go-playground/admins