Snap is asking - What are the best practices for creating a protoc plugin that modifies a CodeGeneratorRequest to ideally be forwarded directly into another plugin?
I'm writing a plugin that transforms the CodeGeneratorRequest input to a protoc plugin, but the current model is only CodeGeneratorRequest -> CodeGeneratorResponse. I want to be able to directly transform CodeGeneratorRequest -> CodeGeneratorRequest and allow the protoc caller to choose the output plugin. Currently, I can hardcode my plugin to support specific plugins like Java and ObjC (though I see slight code changes between using the java plugin and the JavaGenerator), but this doesn't work with any third-party plugins or deprecated plugins like Javanano. Thanks, Nelson -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/1742d9e5-80df-451a-8373-eaf00eb6eae4n%40googlegroups.com.
