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.
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