Skip to content

All Schemas are validated against #79

@Memeplexx

Description

@Memeplexx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions