mobxjs / serializr

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

Fix serializations of nulls in list #175

Closed davidmartos96 closed 2 years ago

davidmartos96 commented 2 years 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 2 years ago

Coverage Status

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