Inhere
Inhere
👍 哦 看到调试信息,好像知道哪里错误了
Why, is there any special scene? :)
是的,一个想法记录,还没实现的 :)
嗯,我调整下,下个小版本发布
hi @H-hao @shrinidhi111 Updated on v3.0.5: ```go // disable global options gcli.GOpts().SetDisable() ```
😄 不是太明白,你可以贴下伪代码说明下现在的不足,和希望实现的效果。
没想好你这种要怎么做 😄
字段名 和 错误消息 比较重要。 验证错误的类型(验证器名称)好像没啥用啊
😄 前端不是该根据 字段来提示吗
现在错误是这样存储的。 好像不太好放 验证器名称进去。。。 ```text { "username": ["error msg 0", "error msg 1"] "age": ["error msg 2"] } ``` 如果改成这样子设计,到是可以加个字段存 验证器名称 ```text [ { "field": "username", "error": "error msg 0" },...