Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dbz/230 #233

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Dbz/230 #233

wants to merge 6 commits into from

Conversation

didier-brizet
Copy link
Contributor

@didier-brizet didier-brizet commented Sep 28, 2022

Some changes to allow validating combinational schemas depending on default values:

  • Avoid overwriting of default values in patch
  • Try to find required properties in patch

Introduce validate_inplace to validate and insert default values in the JSON document in-place to accelerate iterative loop of validation and patching as described in this comment.

Fixes #232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inefficient iterative validation and patch
2 participants