Closed Chris-Stockbridge closed 7 months ago
This same bug occurs with arrays or structs encoded to either optional string or data types.
I added a unit test "test_insert_custom_encodable_type" which demonstrates the issue. The current master branch fails when decoding a nil value.
1247 describes a bug where decoding a nil value in an optional throws an error when nil is a valid response.
This same bug occurs with arrays or structs encoded to either optional string or data types.
Testing
I added a unit test "test_insert_custom_encodable_type" which demonstrates the issue. The current master branch fails when decoding a nil value.