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

Represent nullable references within anyOf correctly #247

Merged
merged 2 commits into from
Jul 8, 2022

Conversation

millicentachieng
Copy link
Member

Fixes #190

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

holding until we get an answer to this comment #190 (comment)

@millicentachieng millicentachieng changed the title Represent nullbale references within anyOf correctly Represent nullable references within anyOf correctly Jul 7, 2022
@baywet
Copy link
Member

baywet commented Jul 7, 2022

alright, after chatting with Darrel on the original issue, it looks like this implementation is doing what's required for now. The only thing left is the comment you had added to avoid inserting unnecessary anyOf nodes when nullable is false in the case of v3.

baywet
baywet previously approved these changes Jul 7, 2022
irvinesunday
irvinesunday previously approved these changes Jul 8, 2022
@baywet baywet enabled auto-merge July 8, 2022 13:28
@irvinesunday irvinesunday merged commit 43ad8f9 into master Jul 8, 2022
@irvinesunday irvinesunday deleted the fix/nullable-references branch July 8, 2022 13:58
@millicentachieng millicentachieng self-assigned this Jan 24, 2023
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.

Nullable references are not represented correctly
3 participants