caolan / caolan/forms

Add integration with JOI

Open
#162 1 comment 2 reactions 0 assignees View on GitHub
Feature Requests
Dominant language
JavaScript
Stars
1k
Forks
161
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.