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

Correcting the oneOf,anyOf and allOf child schema validators to use the full schema path #626

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

prashanthjos
Copy link
Member

@prashanthjos prashanthjos commented Dec 1, 2022

Hi @stevehu can you please have a look at this PR, I wasn't sure why we suppressed the schema path's of child schema under oneOf, anyOf, and allOf to use just the name of the respective keyword and ignore the parent path where these keywords exist. We have use cases where we update the schemas dynamically based on the complete schema path to a node.

I have corrected these classes, can you please have a look and let me know your opinion?

If you feel the PR looks good can you please merge it to the master and release a new version?

Thank you

@prashanthjos prashanthjos changed the title Correcting the oneOf,anyOf and allOf child schema validators to use the full path Correcting the oneOf,anyOf and allOf child schema validators to use the full schema path Dec 1, 2022
@prashanthjos
Copy link
Member Author

@stevehu can you please have a look at this PR? TIA.

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

Successfully merging this pull request may close these issues.

None yet

2 participants