79087747

Date: 2024-10-14 21:24:44
Score: 4
Natty:
Report link

I'm running into the same issue - for dependencies, Buf generates a relative path under the assumption that the dependent code is in the same top-level object. buf.gen.yaml allows configuring "inputs" (so in your case something like inputs: ["google/type"]), but that will just result in all the imported files being copied into the project, instead of referencing external dependencies.

Did you end up finding a solution?

Reasons:
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (3): Did you end up finding a solution
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: eldar