-
Notifications
You must be signed in to change notification settings - Fork 22
Uses AJV for JSON Schema Draft V4 validation #404
Conversation
@@ -1,5 +1,5 @@ | |||
const errors = require('../errors'); | |||
const { JsonSchemaLegacy } = require('./json-schema-legacy'); | |||
const { JsonSchemaValidator } = require('./json-schema-next'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Header validation is based on an implicitly generated JSON Schema Draft 4, we cannot use the legacy class anymore. The legacy class is left only to support Draft 3.
I'd like to merge this after Amanda is fully deprecated in #369. That way we could get rid of JsonSchemaLegacy class completely. |
I've added a regression test for JSON Schema Draft 4 usage of |
870c605
to
ebb4092
Compare
I've postponed the introduction of the |
ebb4092
to
e4a44a0
Compare
e4a44a0
to
dbfb600
Compare
Rebased upon the latest
|
dbfb600
to
afe7193
Compare
🎉 This PR is included in version 9.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Changes
id
->$id
)Issues