When an enum has the specific proto3 generated UNRECOGNIZED constant and that the value is set to it, the message needs not to send anything on encoding + needs some magic on JSON serialization to replace it by the actual constant tag.
Look at the first commit to see the actual change without the generated code noise.
When an enum has the specific proto3 generated
UNRECOGNIZED
constant and that the value is set to it, the message needs not to send anything on encoding + needs some magic on JSON serialization to replace it by the actual constant tag.Look at the first commit to see the actual change without the generated code noise.
2725