Closed natenichols closed 4 years ago
Omit fields with undefined values when encoding.
xpring-common-js has objects in the form
xpring-common-js
{ Memo: { MemoData: undefined, .....
The change @amiecorso, @intelliot, and I decided on was to omit fields with undefined values.
Added a test with undefined values and compared to an encoding of an object with those values omitted.
I think I'm ok with putting this on a patch release (i.e version 1.0.1)
High Level Overview of Change
Omit fields with undefined values when encoding.
Context of Change
xpring-common-js
has objects in the formThe change @amiecorso, @intelliot, and I decided on was to omit fields with undefined values.
Type of Change
Test Plan
Added a test with undefined values and compared to an encoding of an object with those values omitted.