Re: [protobuf] [golang] API provides no way to access unknown extensions

2017-06-27 Thread 'Feng Xiao' via Protocol Buffers
I'm not sure if the go team monitors this mailing group. You might get a better chance to reach them by posting an issue to the golang/protobuf github repo. On Mon, Jun 26, 2017 at 7:49 PM, Josh Humphries wrote: > For messages generates from syntax="proto2" files, there

[protobuf] [golang] API provides no way to access unknown extensions

2017-06-26 Thread Josh Humphries
For messages generates from syntax="proto2" files, there is a way to access unrecognized fields (as the stream of encoded bytes) via the XXX_unrecognized field. But there is no similar way to access unrecognized fields that happened to be in an extension range. If I were to add an issue to the