mobxjs / serializr

Serialize and deserialize complex object graphs to and from JSON and Javascript classes
MIT License
763 stars 51 forks source link

Fix serializations of nulls in list #175

Closed davidmartos96 closed 1 year ago

davidmartos96 commented 1 year ago

When a field list(primitive()) is null, it fails to serialize/deserialize it.

This handles the null case, same as the object implementation

coveralls commented 1 year ago

Coverage Status

Coverage increased (+0.05%) to 90.239% when pulling 85495d75c8391976ff09c6e4379046577636f4a4 on davidmartos96:fix-list into ce47d9cf1b680be2796bb1bf4276dfd1dd278df4 on mobxjs:master.