even though Name can be null, deserialization was failing if it was omitted from the JSON. This was happening sometimes in Profiles produced on the Hypar web app.
DESCRIPTION:
Uses default settings for the Name property, instead of AllowNull.
TESTING:
I tested in a function utilizing this version of elements, making sure it no longer exploded if name was missing.
FUTURE WORK:
There's a lot more we can do to make deserialization less fragile.
BACKGROUND:
Name
can be null, deserialization was failing if it was omitted from the JSON. This was happening sometimes inProfile
s produced on the Hypar web app.DESCRIPTION:
Name
property, instead ofAllowNull
.TESTING:
FUTURE WORK:
REQUIRED:
CHANGELOG.md
.This change is