You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2020/09/10 18:25:00 UTC

[jira] [Created] (BEAM-10874) Support both Go versions of proto (v1 & v2) with proto coder.

Robert Burke created BEAM-10874:
-----------------------------------

             Summary: Support both Go versions of proto (v1 & v2) with proto coder.
                 Key: BEAM-10874
                 URL: https://issues.apache.org/jira/browse/BEAM-10874
             Project: Beam
          Issue Type: Bug
          Components: sdk-go
            Reporter: Robert Burke
            Assignee: Robert Burke


Go recently changed how their protocol buffers are generated and introduced a new base interface (protoreflect.Message) as the defacto version of proto.Message.

 

But this introduces incompatibilities since they are distinct interfaces.

 

The solution is quick: register coders for both protoV1 and protoV2 message interfaces which should sort out the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)