We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
查找了一遍已有的代码库, validateMethods 并没有真的使用, 而且功能上来说, 这个比较残缺, 目前项目当中都是用的 validator. 即便将来用 JSON 化的配置, 也不需要这个字段了.
validateMethods
validator
计划移除.
The text was updated successfully, but these errors were encountered:
查看了一下已有的代码, 大致可以抽象出几种类型,
allowNull required string length regex number array length fn
不过从代码量上未必能省代码, 毕竟 if 或者 v.test() 或者检查程度的代码都很短.
Sorry, something went wrong.
No branches or pull requests
查找了一遍已有的代码库,
validateMethods
并没有真的使用, 而且功能上来说, 这个比较残缺, 目前项目当中都是用的validator
. 即便将来用 JSON 化的配置, 也不需要这个字段了.计划移除.
The text was updated successfully, but these errors were encountered: