Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual registration of validators #11

Open
mokkabonna opened this issue Oct 16, 2017 · 0 comments
Open

Manual registration of validators #11

mokkabonna opened this issue Oct 16, 2017 · 0 comments
Milestone

Comments

@mokkabonna
Copy link
Owner

mokkabonna commented Oct 16, 2017

The big set of validators can result in many unused validators being bundled in a build.

Consider an approach that the user need to manually pick what validation keywords to support. And make it easy to choose all. Many users might not need all the advanced validators. Also allow the option to throw or log when a validation keyword is present in the schema but that validator isn't loaded.

This would also align well with the intensioon to support custom format validators.

@mokkabonna mokkabonna added this to the 1.0 milestone Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant