Allows empty messages to be used as sentinel values inside oneof and for whatever other purposes people might want them for by semantically distinguishing them from nil/missing messages when encoding.
Resolves #78, which also goes into more detail about the rationale for this change.
Allows empty messages to be used as sentinel values inside
oneof
and for whatever other purposes people might want them for by semantically distinguishing them fromnil
/missing messages when encoding.Resolves #78, which also goes into more detail about the rationale for this change.