Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
enable swift 6 2 jobs #2259
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
Uh oh!
There was an error while loading. Please reload this page.
enable swift 6 2 jobs #2259
Changes from 1 commit
9bdb0d1cf29048c8d55004e211201fd34e7cfa67431e92fc8432c95582b3a755287f0574d0848d5e0d7022d1b57ce25e2c945cbf67393a28574eea654227cb07e38e961cc2d155e39faf97f76cf963523c3f09df02fa77f6bcdbb2c41e0a7e160fd0dd22b39c960d063cbc03352605798d0bf6f3b0fe70ef48ef867efe3c2cdc5708bc2a25d70fbad12a7366311486ee2629bc0fc4956962d6341f2e78bb281cf1e390c857ed6f7d13150bde431ed6ec8db6adee1f1a5be11cd0696e0a5e92f64560c6c776073a21fb16264214504a92a58beafb334eb7ed6f93d0536b1433693e75bbbebcac53a1dbd15e4da2bb32d17fb0db5cc0067938b12b2ee29639fe9e4f69cffa33525f7261ad4c6357dbfe033f5f21fc96197e77968f4dcf1a84970e94c29f20f9162ed95d82b17298f163392eea6b49c51d91be31dd43362efe585f0fc7d412128f9fbd6887384f1384a8db433c0d1634ab221470451c4d6281edb1ec6e0ba0edc295efdd8185e70d850d6b18eb7390d9094369172a36e1ad1adc18c3ad2a3f8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Motivation: A 'bar' package defining a 'FooService' service will have a number of types generateed for it, for example, `Bar_FooServiceServiceProtocol`, or `Bar_FooServiceClient`. The protocol buffers style guide reccomends that services are suffixed with "Service" (e.g. "FooService", not "Foo") which results in some strange protocol names (like `Bar_FooServiceServiceProtocol`). There should be a clearer differentiation between the qualified service name ("bar.FooServce") and the type being generated. The code generator already replaces "." with "_" in fully qualified names, so "_" is a natural choice as a separator. Modifications: - Add an "_" between the generated fully qualified service name and the gRPC component being generated - Update tests Result: Better names in generated code. The `Bar_FooServiceServiceProtocol` example above becomes `Bar_FooService_ServiceProtocol`, while `Bar_FooServiceClient` becomes `Bar_FooService_Client`.Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.