Closed danilopolani closed 6 years ago
I agree with that. Range should be inclusive.
I believe this should be considered as a breaking change. What do you think @thetutlage ?
I believe the best way is to create a new rule rangeInclusive
. I know it feels weird, but for meanwhile, we can use it as a fallback, since I don't want to introduce breaking changes
Closing, since there is no activity. Will look into adding inside a breaking change
If I use the
range
rule with 1,5, if the data is "1" it should work, at this time it fails. At least I think so, maybe I'm wrong, but in laravel it works like this (inclusive).