-
Notifications
You must be signed in to change notification settings - Fork 838
Closed
Labels
Description
Currently, it seems like every JSON schema registered is validated against.
registerSchema(SchemaOne);
registerSchema(SchemaTwo);
app.get('/validate-one/', (req, res, next) => {
validate(SchemaOne.name, req.params).then(console.log);
});
The above will log all errors including those for SchemaOne & SchemaTwo.
SolveSoul, shooom, ebello and einnjo