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

Inefficient iterative validation and patch #232

Open
didier-brizet opened this issue Sep 28, 2022 · 1 comment · May be fixed by #233
Open

Inefficient iterative validation and patch #232

didier-brizet opened this issue Sep 28, 2022 · 1 comment · May be fixed by #233
Labels

Comments

@didier-brizet
Copy link
Contributor

The iterative method, that repeats the validation of a document to generate a patch composed of some default values from the schema, then applying of the patch and so on until the returned patch was empty, is inefficient on large and deep document and/or schema.

A new method is needed to in-place patch the validated JSON document to achieve the same result as the iterative method but with less execution time.

@didier-brizet didier-brizet linked a pull request Sep 28, 2022 that will close this issue
@xamix
Copy link

xamix commented Jan 20, 2023

Nice feature to have
I was looking for exactly that in order to be more efficient in creating default values

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

Successfully merging a pull request may close this issue.

3 participants