Skip to content

[csharp tools] Option to append Async to server side method names #39010#39797

Closed
ganesh-tn wants to merge 12 commits intogrpc:masterfrom
ganesh-tn:PR-Ganesh-TN-39010-Option-to-append-Async-to-server-side-method-names
Closed

[csharp tools] Option to append Async to server side method names #39010#39797
ganesh-tn wants to merge 12 commits intogrpc:masterfrom
ganesh-tn:PR-Ganesh-TN-39010-Option-to-append-Async-to-server-side-method-names

Conversation

@ganesh-tn
Copy link
Copy Markdown
Member

@ganesh-tn ganesh-tn commented Jun 9, 2025

Issue 39010 - Option to append Async to server side method names

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Jun 9, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: asheshvidyut / name: Ashesh Vidyut (d1f2385)

@ganesh-tn ganesh-tn marked this pull request as draft June 9, 2025 12:41
@ganesh-tn ganesh-tn marked this pull request as ready for review June 9, 2025 12:45
@ganesh-tn
Copy link
Copy Markdown
Member Author

The default setting is enabled (true). To disable this behavior, please specify the option --grpc_opt=appendasyncsuffix=false.

Copy link
Copy Markdown
Contributor

@apolcyn apolcyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ganesh-tn

A couple first comments:

Especially since this is a new feature, can we default this off?

Can we add test coverage, either in the form of an example (e..g under the examples directory), or as a unit test? (e.g. under Grpc.Tools.Tests directory)

- The default option is set to false.
- An example file has been attached for reference.
Copy link
Copy Markdown
Contributor

@apolcyn apolcyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like a good start, some comments

Comment thread examples/csharp/AsyncSuffix/Greet/generate_proto.sh Outdated
Comment thread examples/csharp/AsyncSuffix/Server/Program.cs Outdated
Comment thread src/compiler/csharp_generator.cc Outdated
TN-GANESH and others added 2 commits June 25, 2025 16:12
Comment thread src/compiler/csharp_generator.cc Outdated
@apolcyn apolcyn changed the title Option to append Async to server side method names #39010 [csharp tools] Option to append Async to server side method names #39010 Aug 28, 2025
@apolcyn apolcyn added release notes: yes Indicates if PR needs to be in release notes kokoro:force-run labels Aug 28, 2025
@asheshvidyut
Copy link
Copy Markdown
Member

Are the changes in this PR already covered by the tests present in the repo or we could add some more tests to validate the logic added in this PR?

cc @ganesh-tn

Comment thread src/compiler/csharp_generator.cc
Copy link
Copy Markdown
Member

@asheshvidyut asheshvidyut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Zgoda91 pushed a commit to Zgoda91/grpc that referenced this pull request Mar 22, 2026
…c#39010 (grpc#39797)

Issue 39010 - Option to append Async to server side method names

Closes grpc#39797

PiperOrigin-RevId: 871693172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants