You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When decoding a response, slices that has no elements inside are not set as empty slices. This issue makes JSON Marshalling process transform them into nil, instead of []. For context, this is actually required in order to generate canonical JSONs equally on Golang, Rust and JS. The default value on other languages is to convert it to [] instead of nil.
When decoding a response, slices that has no elements inside are not set as empty slices. This issue makes JSON Marshalling process transform them into nil, instead of []. For context, this is actually required in order to generate canonical JSONs equally on Golang, Rust and JS. The default value on other languages is to convert it to [] instead of nil.
References:
The text was updated successfully, but these errors were encountered: