joi icon indicating copy to clipboard operation
joi copied to clipboard

multiple() doesn't seems to work.

Open a00andos opened this issue 11 years ago • 3 comments

I get an error: "has not method multiple" when trying this: var knorr = Joi.number().multiple(10); I,m using Joi 5.1.0, and have tried to re-install it in case something was wrong.

The method is not there.

a00andos avatar Feb 05 '15 09:02 a00andos

Multiple will land in 6.0 I think since the PR is tagged 6.0 milestone See https://github.com/hapijs/joi/pull/538

AdriVanHoudt avatar Feb 05 '15 10:02 AdriVanHoudt

Thanks. I did not see that.

a00andos avatar Feb 05 '15 10:02 a00andos

I hate github so much for making people believe the displayed readme is for the released version...

Marsup avatar Feb 05 '15 13:02 Marsup