Protobuf.TransformModule.InferFieldsFromEnum (protobuf v0.10.0) View Source
For structs with a Protobuf.TransformModule set, the Protobuf.new/1 function
does not get called. This transform module brings back the original behavior of calling
Protobuf.new/1 before the value is encoded.