Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made sure all validate methods go through the same call chain
Right now when a schema is validated, we perform a different call path depending on which of the validate methods is called. Schema validation has it's own path too. I've changed this so everything is validated via `JSON::Validator#validate!`, all other validate methods ultimately call that. This means that the varied validate class methods on `Validator` are simplified and just add or remove validation options.
- Loading branch information
1 parent
ab96e9a
commit cc9be80
Showing
2 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters