Skip to content

Handling nulls in instances #573

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

Merged
merged 13 commits into from
Jul 6, 2022
Merged

Handling nulls in instances #573

merged 13 commits into from
Jul 6, 2022

Conversation

gregsdennis
Copy link
Member

@gregsdennis gregsdennis commented Jul 5, 2022

These tests address a scenario described in Slack.

Essentially, .Net doesn't separate the ideas of JSON null (pertaining to data) and object-reference null (pertaining to programming). Instead they represent JSON null as object-reference null, and it's caused some problems in my implementation.

These test cases would have caught these issues.

As I suspect it's possible that other languages such as C/C++ or Java may also have similar JSON data model issues, I figured adding these scenarios to the test suite could help.

Copy link
Member

@Julian Julian left a comment

Choose a reason for hiding this comment

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

Will leave tweaking the rest to you since it's just more of the same for other drafts.

Overall looks reasonable after those!

@Julian
Copy link
Member

Julian commented Jul 6, 2022

LGTM at this point, merge at will.

@gregsdennis gregsdennis merged commit 88d6948 into main Jul 6, 2022
@gregsdennis gregsdennis deleted the handling-nulls-in-instances branch July 6, 2022 19:27
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