Skip to content

Commit

Permalink
Merge pull request #117 from electrode-io/ajv-disable-strict-mode
Browse files Browse the repository at this point in the history
Disable ajv strict mode
  • Loading branch information
belemaire authored Jun 14, 2021
2 parents 0413b10 + 1afcd49 commit 0c89aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/livebundle-sdk/src/schemaValidate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function schemaValidate<T>({
refSchemas: ${refSchemas.map((s) => s["$id"])}
schema: ${schema["$id"]}}`);

const ajv = new Ajv({ $data: true });
const ajv = new Ajv({ $data: true, strict: false });
for (const refSchema of refSchemas) {
ajv.addSchema(refSchema);
}
Expand Down

0 comments on commit 0c89aa2

Please sign in to comment.