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

Always generate async code #1384

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Apr 1, 2022

Motivation:

Async code generation currently requires opting in. We should make it
the default alongside the NIO-based code so that it's easier to find.

Modifications:

  • Remove the async options from the generator.
  • Update the generator to always emit async code behind compiler guards.
  • Update plugin docs.
  • Regenerate code.

Result:

Async code is easier to find.

glbrntt added 2 commits April 1, 2022 11:31
Motivation:

Async code generation currently requires opting in. We should make it
the default alongside the NIO-based code so that it's easier to find.

Modifications:

- Remove the async options from the generator.
- Update the generator to always emit async code behind compiler guards.
- Update plugin docs.
- Regenerate code.

Result:

Async code is easier to find.
@glbrntt
Copy link
Collaborator Author

glbrntt commented Apr 1, 2022

Note:

  • eac9861 contains the changes to be reviewed
  • 879a554 regenerates the code

@Lukasa Lukasa merged commit 6b1dc82 into grpc:1.7.1-async-await Apr 4, 2022
@glbrntt glbrntt deleted the gb-async-by-default branch April 4, 2022 15:33
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants