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: ensure default service streaming methods compile when middleware methods are enabled #996

Merged

Conversation

lukealvoeiro
Copy link
Collaborator

@lukealvoeiro lukealvoeiro commented Feb 2, 2024

Description

When we codegen default service implementations with the --rpcBeforeRequest, --rpcAfterResponse or --rpcErrorHandler options , we weren't correctly handling the streaming client side and server side methods. This PR fixes that issue.

Testing

  • Ensure we have unit tests to cover this and they are passing
  • Create an implementation folder to cover this case

@lukealvoeiro lukealvoeiro marked this pull request as draft February 2, 2024 21:39
@lukealvoeiro lukealvoeiro marked this pull request as ready for review February 3, 2024 04:09
@stephenh
Copy link
Owner

stephenh commented Feb 3, 2024

Looks great! Thanks!

@stephenh stephenh merged commit a9e975b into stephenh:main Feb 3, 2024
7 checks passed
stephenh pushed a commit that referenced this pull request Feb 3, 2024
## [1.167.3](v1.167.2...v1.167.3) (2024-02-03)

### Bug Fixes

* ensure default service streaming methods compile when middleware methods are enabled ([#996](#996)) ([a9e975b](a9e975b))
@stephenh
Copy link
Owner

stephenh commented Feb 3, 2024

🎉 This PR is included in version 1.167.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants