What version of this package are you using?
latest
What operating system, Node.js, and npm version?
node v20 npm v9
What happened?
required_if is unable to handle numeric values, so if i do
required_if:age,16
when i send {age: 16} it does not pass, but when i do {age: "16"} it passes.
What did you expect to happen?
It should pass with {age: 16} where 16 is number and not string
Are you willing to submit a pull request to fix this bug?
Not at this moment
What version of this package are you using?
latest
What operating system, Node.js, and npm version?
node v20 npm v9
What happened?
required_if is unable to handle numeric values, so if i do
required_if:age,16
when i send {age: 16} it does not pass, but when i do {age: "16"} it passes.
What did you expect to happen?
It should pass with {age: 16} where 16 is number and not string
Are you willing to submit a pull request to fix this bug?
Not at this moment