-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(util/gvalid): add new rule required-if-all
#3455
Conversation
added rules: 1. required-if-any-eq Required if any given field and its value are equal. 2. required-if-all-eq: Required if all given field and its value are equal.
@cococolanosugar |
Remove rule required-if-any-eq. And rename required-if-all-eq to required-if-all, which means: Required if all given field and its value are equal.
@gqcn |
@cococolanosugar Hello, I've made a pr for some improvement for your pr hah cococolanosugar#1 |
required-if-all
for gvalid
required-if-all
for gvalidrequired-if-all
for package gvalid
enhance: some improvement for new `require-if-all` rule
5304e10
to
18100bc
Compare
required-if-all
for package gvalidrequired-if-all
added rules: