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 polymoprhic with nullable patching #2636

Merged
merged 1 commit into from
Jan 2, 2024
Merged

fix polymoprhic with nullable patching #2636

merged 1 commit into from
Jan 2, 2024

Conversation

niclim
Copy link
Contributor

@niclim niclim commented Jan 2, 2024

🍗 Description

What does this PR do? Anything folks should know?

fixes the case where nullable is next to a polymorphic keyword (allOf, oneOf, anyOf)

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?

@niclim niclim requested a review from acunniffe as a code owner January 2, 2024 16:49

test('with nullable', async () => {
// nullable keyword only valid in 3.0.1
if (version !== '3.0.1') return;
Copy link
Member

Choose a reason for hiding this comment

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

I believe it's valid in 3.0.0 and 3.0.1

Copy link
Member

@acunniffe acunniffe 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 -- let's get this out and back to them

@niclim niclim added this pull request to the merge queue Jan 2, 2024
Merged via the queue into main with commit 2849178 Jan 2, 2024
1 check passed
@niclim niclim deleted the polymorphic-nullable branch January 2, 2024 18:50
niclim added a commit that referenced this pull request Jan 2, 2024
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.

2 participants