adonisjs / validator

Schema based validator for AdonisJS
MIT License
115 stars 40 forks source link

feat(added lessThan rule): added lessThan and greaterThan rule #131

Closed hiteshmungpara closed 2 years ago

hiteshmungpara commented 2 years ago

Proposed changes

added lessThan and greaterThan rule

Types of changes

What types of changes does your code introduce?

Checklist

thetutlage commented 2 years ago

How about adding the counterpart greaterThan as well?

hiteshmungpara commented 2 years ago

How about adding the counterpart greaterThan as well?

I have added greaterThan rule.

thetutlage commented 2 years ago

Seems like the tests are failing https://github.com/adonisjs/validator/runs/4630947409?check_suite_focus=true#step:5:924

hiteshmungpara commented 2 years ago

Seems like the tests are failing https://github.com/adonisjs/validator/runs/4630947409?check_suite_focus=true#step:5:924

fixed