Please try adding Hapi.joi.version('v2') when you first load hapi and see how your validation rules work with the new joi 2.0 module. Any issues or feedback would be greatly appreciated. At some point we'll publish a hapi 2.0 with joi 2.0 as the default based on this feedback.
Please try adding
Hapi.joi.version('v2')when you first load hapi and see how your validation rules work with the new joi 2.0 module. Any issues or feedback would be greatly appreciated. At some point we'll publish a hapi 2.0 with joi 2.0 as the default based on this feedback.