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

验证器条件必选填 #31

Open
chinapostm opened this issue Apr 28, 2021 · 1 comment
Open

验证器条件必选填 #31

chinapostm opened this issue Apr 28, 2021 · 1 comment

Comments

@chinapostm
Copy link

参数注解校验中能否支持 例如 a1参数条件为真(比如当前参数===1) 那么a2参数就必填写

@zhoufei666
Copy link

这就是 类似在laravel 中的required_if,required_with 系列的用法,但是现在还不支持,希望官方能支持一下

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

2 participants