gookit / validate

⚔ Go package for data validation and filtering. support Map, Struct, Form data. Go通用的数据验证与过滤库,使用简单,内置大部分常用验证、过滤器,支持自定义验证器、自定义消息、字段翻译。

Home Page:https://gookit.github.io/validate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Required check for multi level slice of map.

sujit-baniya opened this issue · comments

Related to #210

Please check https://github.com/gookit/validate/compare/master...Orgware-Construct:validate:master?expand=1

This change allows to fix required for nested maps in multi level. Only caveat in my change is I'm using my package library for getting map fields by dot notation (which I were not able to get it from maputil).

So I didn't create PR for the change.

commented

hi @sujit-baniya you can fetch the https://github.com/gookit/validate/releases/tag/v1.5.1 for check multi level slice of map.

If you still have problems, please report on the issues.