GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Generator: give precendence to protos if mixin is declared · Issue #7659 · googleapis/google-cloud-node

Generator: give precendence to protos if mixin is declared #7659

New issue
Copy link
New issue
Copy link
Closed
#7929
Closed
Generator: give precendence to protos if mixin is declared#7659
#7929
Copy link
Assignees
shivanee-p
Labels
library: google-cloud-node-coreIssues transferred from another repositorysize: stype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@sofisl
sofisl
opened on Feb 21, 2026
Issue body actions

Please make sure you have searched for information in the following guides.

  • Search the issues already opened: https://github.com/googleapis/google-cloud-node-core/issues
  • Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
  • Check our Troubleshooting guide: https://github.com/googleapis/google-cloud-node-core/blob/main/docs/troubleshooting.md
  • Check our FAQ: https://github.com/googleapis/google-cloud-node-core/blob/main/docs/faq.md
  • Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
  • Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
  • Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples
  • Check the API's issue tracker: https://cloud.google.com/support/docs/issue-trackers

Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.

#7237

A step-by-step description of how to reproduce the issue, based on the linked reproduction.

In https://critique.corp.google.com/cl/868182714 seems like they explicitly declared IAM rpcs in their protos, in addition to the mixin. In Nodejs this caused a duplicate identifier: #7237 for those methods. It seems like according to this RPC, this is specifically a ts generator bug: https://google.aip.dev/client-libraries/4234#overriding-a-duplicate-rpc.

steps to reproduce:

  1. pull down current googleapis/googleapis
  2. run bazelisk build //google/cloud/dataform:google-cloud-dataform-nodejs
  3. see the duplicate identifier in the service.ts.

A clear and concise description of what the bug is, and what you expected to happen.

see chat: https://chat.google.com/room/AAAA3k1_t2c/X19WKL84OQA

according to AIP: https://google.aip.dev/client-libraries/4234#overriding-a-duplicate-rpc we have to give precedence to the protos in a case of a collision. we need to fix this in the generator so it doesn't try to generate mixin rpcs if the proto defines it as well

A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **

this CL https://critique.corp.google.com/cl/868182714 broke the generator. AIP says this shouldn;t be the case: https://google.aip.dev/client-libraries/4234#overriding-a-duplicate-rpc

Activity

  1. sofisl
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    size: s
    on Feb 21, 2026
  2. shivanee-p
    self-assigned this
    on Feb 23, 2026
  3. sofisl
    added
    library: google-cloud-node-coreIssues transferred from another repository
    on Mar 18, 2026
  4. sofisl
    transferred this issue fromgoogleapis/google-cloud-node-coreon Mar 18, 2026
  5. shivanee-p
    closed this as completedin #7929on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @shivanee-p
    shivanee-p

Labels

library: google-cloud-node-coreIssues transferred from another repositorysize: stype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.