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

Backport of Make proto-public a Go module into release/1.13.x #14683

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #14499 to be assessed for backporting due to the inclusion of the label backport/1.13.

The below text is copied from the body of the original PR.


Description

Our original intention was for projects to consume and generate their own Go code for our public protobuf packages using Buf.

While this is still the best route for many projects, it causes some headaches when using a library (e.g. consul-server-connection-manager) that pulls in the same protobuf package as your project, as Go's protobuf implementation only allows for a package/namespace to be registered once.

In such cases, projects can depend on this Go module instead, as a single place where these protobuf packages are registered.

Closes #14493


Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/boxofrad/grpc-modules/merely-united-jackass branch 2 times, most recently from 6fbe899 to bc3cf30 Compare September 20, 2022 15:50
@hc-github-team-consul-core hc-github-team-consul-core merged commit 767a604 into release/1.13.x Sep 20, 2022
@hc-github-team-consul-core hc-github-team-consul-core deleted the backport/boxofrad/grpc-modules/merely-united-jackass branch September 20, 2022 15:50
@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/dependencies PR specifically updates dependencies of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants