Skip to content

chore(go_proto_library): Improve error message on incorrect use.#4387

Merged
fmeum merged 3 commits intobazel-contrib:masterfrom
mkosiba:improve_go_proto_lib_msg
Jul 1, 2025
Merged

chore(go_proto_library): Improve error message on incorrect use.#4387
fmeum merged 3 commits intobazel-contrib:masterfrom
mkosiba:improve_go_proto_lib_msg

Conversation

@mkosiba
Copy link
Copy Markdown
Contributor

@mkosiba mkosiba commented Jul 1, 2025

What type of PR is this?

Other

What does this PR do? Why is it needed?
It's relatively common for users to add proto_library to the deps of go_proto_library. The resulting error message (which complains about a missing attribute) is rather confusing, so let's improve it a bit.

Which issues(s) does this PR fix?

somewhat arguably fixes #4069

Other notes for review

It's relatively common for users to add `proto_library` to the `deps` of
go_proto_library. The resulting error message (which complains about a
missing attribute) is rather confusing, so let's improve it a bit.
@fmeum fmeum enabled auto-merge (squash) July 1, 2025 18:07
@fmeum fmeum merged commit 38267f6 into bazel-contrib:master Jul 1, 2025
1 check passed
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.

bug(rules/proto): missing attribute attr.importmap

2 participants