Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move com_github_tidwall_gjson to "root" to fix static resolution issues #30

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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 bazelbuild/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.

None yet

1 participant