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

Create separate validation module #451

eduardoboucas opened this Issue Jun 28, 2018 · 1 comment


None yet
2 participants
Copy link

eduardoboucas commented Jun 28, 2018

If we separate the validation logic into a separate package, we're able to perform the same validation in API and consumer applications (such as Publish). This package would take a collection/field schema and a candidate value/document and return a set of validation errors if they are found.


This comment has been minimized.

Copy link

danwdart commented Sep 25, 2018

Can we define the validation rules first so we know what we have to make Publish deal with after it's been allowed / blocked by API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment