i'm trying to extend the "built in" descriptor types in order to make custom options available to protoc and my protoc plugin(s)
i gave this a try: import "google/protobuf/descriptor.proto"; extend google.protobuf.MethodOptions { string my_option = 1000; }
but this has the disadvantage that now, my .proto file contains everything from descriptor.proto. protoc sends ALL of that to my protoc plugin, which produces bindings for messages defined in descriptor.proto, which is not what i want :)
so, what's the correct way to do this?>
hdon has quit
pixelate^ has quit
pixelate^ joined the channel
hdon joined the channel
hdon has quit
ghostwriternr has quit
ghostwriternr joined the channel
hdon joined the channel
hdon has quit
lburgazzoli joined the channel
hdon joined the channel
hdon has quit
noonien joined the channel
rmz_la3lma joined the channel
rmz_la3lma has left the channel
hdon joined the channel
hdon has quit
hdon joined the channel
hdon has quit
hdon joined the channel
hdon has quit
hdon joined the channel
hdon has quit
hdon joined the channel
is there a protoc option to specify which packages i want to emit code for?