Peter Slivka

Results comments of Peter Slivka

From documentation I would expect, that when `pre` method cast value, validation would be run against this casted value. Imho this code should NOT throw an error: ``` let joi...

Yes, with `Any` base it works, but you loose boolean validation. Real use case is may be localization, e.g.: ``` let joi = require('joi') let joiCustom = joi.extend({ base: joi.boolean(),...

Current boolean validator also covert "yes" or "on" string to `true` value. For me this is the very same use case. My point is not to build full-feature validator covered...

Can somebody please explain this good reasons? Btw. this is working fine for me: ``` ```

I'm not able to reproduce the problem anymore, seems fixed. I will keep an eye on it