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

Support Connect RPC with connect-go #85

Open
XSAM opened this issue Nov 9, 2024 · 0 comments
Open

Support Connect RPC with connect-go #85

XSAM opened this issue Nov 9, 2024 · 0 comments

Comments

@XSAM
Copy link

XSAM commented Nov 9, 2024

I want to use Connect RPC in my bazel project, but there is no support for it, as the protoc-gen-connect-go expects a subfolder to write when generating go codes.

I am not familiar with bazel, but I wonder if it is possible to generate a subfolder inside the importpath of go_proto_library . So, the generated folder path in bazel keeps consistent with the one from buf.

Having a different output path is a terrible user experience when switching local buf to bazel, as it changes the import path of ConnectRPC.

Originally posted by @XSAM in connectrpc/connect-go#310 (comment)


In principle rules_go could implement support for proto plugins generating code in subpackages

connectrpc/connect-go#310 (comment)

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

No branches or pull requests

1 participant