Re: [protobuf] protogen golang - finding source line for diagnostics?

2022-11-07 Thread Steve Simon
dev/google.golang.org/protobuf/compiler/protogen#Location> > type looks promising. > > On Thu, Nov 3, 2022 at 3:07 AM Steve Simon wrote: > >> Hi, >> >> I am using protogen for go successfully. We are using >> extend google.protobuf.ServiceOptions { as we ne

[protobuf] protogen golang - finding source line for diagnostics?

2022-11-03 Thread Steve Simon
Hi, I am using protogen for go successfully. We are using extend google.protobuf.ServiceOptions { as we need to encode extra fields for our backend. When I find typos in the serviceOptions I am parsing I would like to generate diagnostics which reference the source proto file and line number.

[protobuf] protogen - creating python code from a go plugin?

2022-10-24 Thread Steve Simon
Hi. We use protobufs with NATS and have added structured comments to our .proto files to describe the NATS topic and transaction style we use for a particular protobuf Message. I have a protogen plugin to generate RPC stubs for go but we would like to generate similar RPCs for python (for our