Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Disambiguate resource name collisions
For example, if an `Account` resource has `name` and `account_name` properties, we don't want to generate an `AccountName` property in GAPIC, as that collides with the one generated by protoc. Instead, we generate `NameAsAccountName`. No tests for this edge case, but I've run the generator against the Merchant Accounts API (which flagged this up) and the result builds where it didn't before. Fixes b/343924087
- Loading branch information