rules_go
rules_go copied to clipboard
document proto gRPC stub generation
I've been bashing my head against a wall for a while now trying to figure out how to make gazelle, bzlmod and rules_go all play nicely together to generate Go gRPC stubs.
It would be nice if there documentation showing how it all fits together, ideally in conjunction with a skeleton example repo ?
I've been bashing my head against a wall for a while now trying to figure out how to make
gazelle,bzlmodandrules_goall play nicely together to generate Go gRPC stubs.It would be nice if there documentation showing how it all fits together, ideally in conjunction with a skeleton example repo ?
Hey, any luck with setting this up correctly? I have the same issue and I haven't been able to figure out what to do
Hey, any luck with setting this up correctly? I have the same issue and I haven't been able to figure out what to do
Sadly no, having spent far too much time on it, I just ended up dumping manually generated files into my repo.
I've found Bazel to be a bit annoying like this. It works well once it is set up, but my god can it be a nightmare to setup !
I hope some kind soul comes along with an answer for this one.
Hey, any luck with setting this up correctly? I have the same issue and I haven't been able to figure out what to do
Sadly no, having spent far too much time on it, I just ended up dumping manually generated files into my repo.
I've found Bazel to be a bit annoying like this. It works well once it is set up, but my god can it be a nightmare to setup !
I hope some kind soul comes along with an answer for this one.
Is Gazelle not creating the generated gRPC stubs in the bazel output directory for you? If so, I have that working. The only problem is that I'm manually copying them over into my proto folders so I can have code completion in my editor which is a pain!
I would have to refresh my memory and find the notes I made at the time, but I think the answer to your question is I was having both the issues, i.e. the one you fixed and the one you're continuing to have.