caolan / forms

An easy way to create, parse and validate forms in node.js
MIT License
1.01k stars 167 forks source link

Add integration with JOI #162

Open antony opened 9 years ago

antony commented 9 years ago

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

stevenvachon commented 7 years ago

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