googleapis / googleapis/gapic-generator-go
gen-go_cli: rpc methods are not namespaces in filename output
Open
priority: p3
type: bug
- Dominant language
- Go
- Stars
- 305
- Forks
- 60
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 13
Description
Right now you can't generate a binary that targets more than one service with the same rpc name: `list.go: Tried to write the same file twice.`.
Contributor guide
Research direction
Start in the gen-go_cli filename-output path and reproduce the case with two services sharing an RPC name. Check how list.go is selected and verify that generation no longer reports a duplicate write, with distinct filenames for the methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100