Skip to content

Conversation

@pcj
Copy link

@pcj pcj commented Oct 19, 2022

Relates to #28.

I recently had to deal with this issue as well, documented my findings in stackb/rules_proto#287. When I saw bazel-contrib/bazel-gazelle#1344 I figured I'd send a PR with what might be a better workaround.

@pcj
Copy link
Author

pcj commented Oct 19, 2022

Despite doing a fairly deep dive on that static resolution mode thing, it still has me scratching my head. The drawback of this PR is that consuming the load("//:third_party/go/deps.bzl", "go_dependencies") from an external workspace would miss com_github_tidwall_gjson. Free free to close the PR if you'd rather keep external mode.

@pcj pcj changed the title Use gazelle:repository directive to fix static resolution issues Move com_github_tidwall_gjson to "root" to fix static resolution issues Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants