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
{{ message }}
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
When an optional field with a default is read, the struct is expected to have the default value set. However, when reencoding this struct, the field should not be sent over the wire as it is the default value. In the following example, a bool field has a default value of true, and is not set in the input payload, but when the payload is deserialized and serialized again, the resulting payload contains the bool set to true.
When an optional field with a default is read, the struct is expected to have the default value set. However, when reencoding this struct, the field should not be sent over the wire as it is the default value. In the following example, a bool field has a default value of
true
, and is not set in the input payload, but when the payload is deserialized and serialized again, the resulting payload contains the bool set to true.Thrift struct:
Doing a roundtrip of binary -> struct -> binary modifies the following payload:
to the following:
The binary for the input payload is:
The text was updated successfully, but these errors were encountered: