Closed Stebalien closed 4 years ago
Currently, if a value is null, we'll won't set the field in the struct to null. This means a re-used object could end up with merged state.
Alternatively, we could check to see if the struct is empty and refuse to decode into it if not?
Currently, if a value is null, we'll won't set the field in the struct to null. This means a re-used object could end up with merged state.