Open
Description
GitHub Repository
https://github.com/abhinav/buf-include_imports-strategy-repro
Commands
buf generate
Output
protoc: common/v1/value.proto, keyvalue/v1/service.proto
Expected Output
protoc: common/v1/value.proto
protoc: keyvalue/v1/service.proto
Anything else?
I wrote a minimal plugin in the reproduction repo that just logs the files to generate to demonstrate the problem.
I'm using the latest release of Buf as of writing this.
❯ buf --version
1.32.2
The only workaround right now is to manually list imports in the inputs
section.
Without this, old plugins like Twirp explode during package name resolution.