github.com/repo1/.../x.proto File not found
github.com/repo2/.../y.proto File not found
after debugging the code I realised, that the /vendor is never passed to -I in protoc since it was part of the main.proto file path and this behaviour was not documented at all... 🤷♂️ so mounting another dir for imports worked like this:
great tool, but I was stuck on proto imports
issues:
/protobuf/google
is not up to date. missinggoogle/api/annotations.proto
I have my file structure like this:
I did this:
it returns
after debugging the code I realised, that the
/vendor
is never passed to-I
in protoc since it was part of the main.proto file path and this behaviour was not documented at all... 🤷♂️ so mounting another dir for imports worked like this: