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

Explicitly check for null values in C# jsonization #525

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Sep 3, 2024

We explicitly check that both optional and required properties can not be set to null. The optional properties should be explicitly absent from the object by specification, and thus null is not an acceptable value for optional properties.

We explicitly check that both optional and required properties can not
be set to ``null``. The optional properties should be explicitly absent
from the object by specification, and thus ``null`` is not an acceptable
value for optional properties.
@mristin mristin merged commit 0ec5c40 into main Sep 3, 2024
2 checks passed
@mristin mristin deleted the mristin/Distinguish-null-and-missing-properties-in-C#-jsonization branch September 3, 2024 06:04
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.

1 participant