Skip to content

Commit

Permalink
Chore: Using schemaId: "auto" instead of "id"
Browse files Browse the repository at this point in the history
This retains compatibility with json schema draft-04 as well as draft-06 and draft-07. Previous setting unintentionally restricted compatibility to draft-04.
  • Loading branch information
platinumazure committed Apr 13, 2018
1 parent 9d30bfe commit 46133c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/ajv.js
Expand Up @@ -20,7 +20,7 @@ const ajv = new Ajv({
validateSchema: false,
missingRefs: "ignore",
verbose: true,
schemaId: "id"
schemaId: "auto"
});

ajv.addMetaSchema(metaSchema);
Expand Down

0 comments on commit 46133c9

Please sign in to comment.