Should the serializer throw on illegal serialization? #288
Marvin-Brouwer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently when
nullable reference types
indicate a value cannot be null but the JSON or XML coming in is missing this value an exception is thrown.However, if we reflect a null value into a property that is non-nullable we just don't write out that value.
Should this be considered proper behavior?
Should we throw an exception?
Should this be configurable?
Beta Was this translation helpful? Give feedback.
All reactions