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

proto-loader: Avoid generating duplicate method declarations in some cases #2717

Conversation

murgatroid99
Copy link
Member

For client class types, the code generator generates two method declarations for each method: one for the exact original name, and one for the camel case version of the name. Using Set avoids duplication if both of those are the same.

This fixes #2686.

@murgatroid99 murgatroid99 merged commit 5e1ab3e into grpc:master May 1, 2024
7 of 10 checks passed
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.

Possible duplicates of function declarations in service interface
2 participants