-
Notifications
You must be signed in to change notification settings - Fork 33
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
暴露枚举值和inField没有提示语 #46
Comments
可以提个PR 调整下 |
稍后进行。 |
inField 验证器并不是没有提示语,而是走的默认提示语,汗颜!!! |
没怎么推过。项目很早就有了 |
有些场景 确实需要这个提示。对API来说,不提示确实更安全点 |
那是否可以增加个选项,用来控制走提示还是走统一的否定语。 |
这个倒是可以 |
php-validate/src/Validator/GlobalMessage.php
Lines 76 to 77 in d93a21a
这个提示语等于暴露了允许的值。
inField 验证器没有提示语
php-validate/src/Traits/ScopedValidatorsTrait.php
Lines 575 to 582 in e900a44
The text was updated successfully, but these errors were encountered: