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

Fix JSON Schema pointer conflicts with trait definitions #2412

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Oct 1, 2024

This commit updates the DeconflictingStrategy to scrub trait definitions from the model used to pre-compute JSON Schema pointers. These shapes wouldn't have made their way into converted schemas anyways, and existing behavior for non-computed pointers is maintained.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit updates the DeconflictingStrategy to scrub trait definitions
from the model used to pre-compute JSON Schema pointers. These shapes
wouldn't have made their way into converted schemas anyways, and existing
behavior for non-computed pointers is maintained.
@kstich kstich requested a review from a team as a code owner October 1, 2024 22:10
@kstich kstich requested a review from yasmewad October 1, 2024 22:10
Copy link
Contributor

@yasmewad yasmewad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@kstich kstich merged commit 6a12923 into main Oct 2, 2024
14 checks passed
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.

3 participants