Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Go keywords in Protobuf definitions #348

Merged
merged 2 commits into from
Aug 16, 2022
Merged

Handle Go keywords in Protobuf definitions #348

merged 2 commits into from
Aug 16, 2022

Conversation

akshayjshah
Copy link
Member

@akshayjshah akshayjshah commented Aug 16, 2022

In a handful of places, we use lowercased versions of Protobuf
identifiers as unexported Go symbols. When we do so, we need to handle
Go keywords specially. In practice, this comes up because one of the
googleapis SQL packages has a service with an Import RPC.

Fixes #346.

In a handful of places, we use lowercased versions of Protobuf
identifiers as unexported Go symbols. When we do so, we need to handle
Go keywords specially. In practice, this comes up because one of the
`googleapis` SQL packages has a service with an `Import` RPC.

Fixes #346.
@akshayjshah akshayjshah merged commit 6de8c03 into main Aug 16, 2022
@akshayjshah akshayjshah deleted the ajs/ids branch August 16, 2022 21:03
alexandrem pushed a commit to alexandrem/connect-go that referenced this pull request Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated keyword collision in client implementation
3 participants