googleapis / googleapis/gapic-generator-go

gen-go_cli: rpc methods are not namespaces in filename output

Open
#483 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.