You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we resolve the dependencies relative (we'd like to keep it like that because we can just copy/paste proto files), the dependencies "//protoc-gen-openapiv2/options:options_proto" can't be resolved.
What did you expect to see?
Dependencies listed as "//path/to/proto/files/protoc-gen-openapiv2/options:options_proto"
What did you see instead?
"//protoc-gen-openapiv2/options:options_proto"
Same for any library that consume this proto files with relative paths.
So my question boils down to which gazelle can I use to make the relative imports work ? There are a bunch of options, I think I've tried them all, but haven't figured out the right combination yet.
The text was updated successfully, but these errors were encountered:
What version of gazelle are you using?
0.36.0
What version of rules_go are you using?
0.47.0
What version of Bazel are you using?
6.5.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
OSX M1
What did you do?
We have a monorepo with the directory:
inside of which, the files
annotations.proto
and
openapiv2.proto
When running bazel the BUILD file ends up being
Because we resolve the dependencies relative (we'd like to keep it like that because we can just copy/paste proto files), the dependencies
"//protoc-gen-openapiv2/options:options_proto"
can't be resolved.What did you expect to see?
Dependencies listed as
"//path/to/proto/files/protoc-gen-openapiv2/options:options_proto"
What did you see instead?
"//protoc-gen-openapiv2/options:options_proto"
Same for any library that consume this proto files with relative paths.
So my question boils down to which gazelle can I use to make the relative imports work ? There are a bunch of options, I think I've tried them all, but haven't figured out the right combination yet.
The text was updated successfully, but these errors were encountered: