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

fix: use disambiguated name for rpcs to avoid collisions #2217

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Oct 10, 2024

Use method.safe_name instead of method.name to avoid collisions with python keywords. See the fragment proto tests/fragments/test_reserved_method_names.proto which has failing tests without this fix.

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Oct 10, 2024
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Oct 10, 2024
@parthea parthea marked this pull request as ready for review October 10, 2024 18:37
@parthea parthea requested a review from a team as a code owner October 10, 2024 18:37
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 10, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 10, 2024
@ohmayr ohmayr merged commit 296cd3e into main Oct 10, 2024
75 checks passed
@ohmayr ohmayr deleted the use-safe-name branch October 10, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants