Closed SaschaAdler closed 3 years ago
Data validation is no longer tightly-coupled with JSON Schema, Ajv, or validation code living in the same package as Kivik config.
Just add validate.js in the root of whichever database you'd like to validate, and have it export a function that validates arbitrary data.
validate.js
Closes #47.
Data validation is no longer tightly-coupled with JSON Schema, Ajv, or validation code living in the same package as Kivik config.
Just add
validate.js
in the root of whichever database you'd like to validate, and have it export a function that validates arbitrary data.Closes #47.