forms icon indicating copy to clipboard operation
forms copied to clipboard

Add integration with JOI

Open antony opened this issue 10 years ago • 1 comments

I personally feel that Joi's validation system is incredibly neat and understandable. I'd love to be able to simply use their 'dsl' in place of the default, if I chose to.

I'm integrating with a couple of hapijs apps so sharing the validation from my endpoints rather than declaring afresh in the form.create method is also an attractive proposition.

https://github.com/hapijs/joi

antony avatar Jun 23 '15 11:06 antony

Joi makes more sense. I just want to validate property values on an object.

stevenvachon avatar Jul 23 '17 21:07 stevenvachon