Skip to content

Commit

Permalink
Use new Ajv options
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 5, 2019
1 parent f956a92 commit 55ff78a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/validation/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const AJV_OPTS = {
// JSON schema allows unknown formats
unknownFormats: 'ignore',
logger,
strictDefaults: true,
strictKeywords: true,
}

// Called only once
Expand Down

0 comments on commit 55ff78a

Please sign in to comment.