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
2.1.0
there is no requiredIf* rules available when using array validator:
requiredIf*
vine.compile( vine.object({ ids: vine.array( vine.string(), ) .optional() .requiredIfMissing('all'), all: vine.literal(true) .optional() .requiredIfMissing('ids'), }), );
will throw:
vine.array(...).optional(...).requiredIfMissing is not a function
No response
It's missing on object too:
vine.object(...).optional(...).requiredIfMissing is not a function
The text was updated successfully, but these errors were encountered:
890228e
thetutlage
No branches or pull requests
Package version
2.1.0
Describe the bug
there is no
requiredIf*
rules available when using array validator:will throw:
Reproduction repo
No response
UPDATE
It's missing on object too:
The text was updated successfully, but these errors were encountered: