Those changes improve the handling of null values for both payload and object collection deserialization.
It simply skips trying to parsing them as it would fail or return incorrect values.
This fixes the issue reported in #8 and I can now get a group response with a null value for ex. deleted_at_time:
From my understanding, the tests do not cover yet the get_collection_of_primitive_values and get_collection_of_object_values method although they are used in the ruby SDK. I think the same fix needs to be applied (and I did). But it would probably be nice to add tests for them but I don't have extra bandwidth to investigate that at this time.
Note: my editor also stripped some random extra spaces (I think it is better without them ๐งน).
Those changes improve the handling of null values for both payload and object collection deserialization.
It simply skips trying to parsing them as it would fail or return incorrect values.
This fixes the issue reported in #8 and I can now get a group response with a null value for ex.
deleted_at_time
:From my understanding, the tests do not cover yet the
get_collection_of_primitive_values
andget_collection_of_object_values
method although they are used in the ruby SDK. I think the same fix needs to be applied (and I did). But it would probably be nice to add tests for them but I don't have extra bandwidth to investigate that at this time.Note: my editor also stripped some random extra spaces (I think it is better without them ๐งน).
Best regards ๐