You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 21:19:43 UTC

[GitHub] [beam] kennknowles opened a new issue, #18951: Go code should get standard URNs from proto annotations

kennknowles opened a new issue, #18951:
URL: https://github.com/apache/beam/issues/18951

   https://github.com/apache/beam/pull/4672 makes standard URNs of various Beam entities be defined in annotations on some enums in the protos. Java and Python now don't hard-code the URNs, instead they get them from the proto annotations.
   
   However, Go still hard-codes the URNs. This JIRA is to make Go do something like what Java and Python do.
   
   (I tried coding this up, but couldn't come up with a good Go API for this - the Java and Python ways don't translate into idiomatic Go as far as I can tell; it's also complicated by the fact that Go protobuf compiler currently doesn't give easy access to enum descriptors: https://github.com/golang/protobuf/issues/364)
   
   Imported from Jira [BEAM-4179](https://issues.apache.org/jira/browse/BEAM-4179). Original Jira may contain additional context.
   Reported by: jkff.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org