ts-protoc-gen
ts-protoc-gen copied to clipboard
fix: Expose `message` on ClientStream Service stubs
Changes
- Add optional callback to clientStream to return response.
- Callback is called after
end
event - Amend types with overload for optional metadata
Verification
Tested generated code:
- both metadata and callback
- only callback
- only metadata
- neither
fixes: #208
/assign @moadz
Hi, is there a chance of this PR getting merged ? Thanks !
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: moadz
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [moadz]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
Can we get this merged in?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi @MarcusLongmuir @moadz ,
Is there a chance to have this merged or any update that can fix this problem ?
Regards,
New changes are detected. LGTM label has been removed.
I pushed changes to this to fix a callback ordering issue and added integration tests. Thanks for the contribution 👍
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: MarcusLongmuir, moadz
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [MarcusLongmuir]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
Thanks a lot