Skip to content
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

希望增加未知字段过滤,或存在未知字段时报错的选项。 #83

Open
fuguohong opened this issue Jul 10, 2020 · 2 comments

Comments

@fuguohong
Copy link

过滤未知字段是一个很常用且有用的功能啊,前端传参时不一定针对每个接口都pick。如果需要更严格的时候, 存在未知字段就返回错误。这样经过校验的参数都可以放心使用。不然参数经过校验后,还需要去判断存不存在一些未知字段?

@chenxingli1
Copy link

哈哈,我自己fork的版本加了这个功能,但是合并不上去

@qq295823929
Copy link

未知字段你管他干啥呢,你在业务场景中不使用不就好了吗,感觉这是个伪需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants