I'm writing a protoc plugin protoc-gen-protobufjs 
<https://github.com/bduffany/protoc-gen-protobufjs> that is intended as a 
faster version of protobufjs-cli and which is a better fit for Bazel.

I have gotten it working, and am now trying to optimize the build rules a 
little bit. My understanding is that when compiling a proto file, protoc 
needs to locate all of the file's transitive dependencies, and gives an 
error if it can't find one of them.

Please correct me if I'm wrong (I'm not a proto expert), but my 
understanding is that I just need to know about the directly imported 
protos so that I can tell whether a particular type reference is a message 
or an enum. So I am wondering if there is a way to tell protoc to not fail 
if it can't find an indirect import, and instead continue code generation 
anyway.

Thanks!

Brandon

-- 
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/33d35d62-22e1-4b8c-bb5d-c546f5a491ecn%40googlegroups.com.

Reply via email to