ts-protoc-gen icon indicating copy to clipboard operation
ts-protoc-gen copied to clipboard

fix: Expose `message` on ClientStream Service stubs

Open George-Payne opened this issue 4 years ago • 5 comments

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

George-Payne avatar Feb 03 '21 15:02 George-Payne

/assign @moadz

George-Payne avatar Feb 03 '21 15:02 George-Payne

Hi, is there a chance of this PR getting merged ? Thanks !

watjurk avatar Feb 20 '21 19:02 watjurk

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

improbable-prow-robot avatar May 11 '21 07:05 improbable-prow-robot

Can we get this merged in?

edaniels avatar Nov 10 '21 18:11 edaniels

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.

stale[bot] avatar Apr 16 '22 05:04 stale[bot]

Hi @MarcusLongmuir @moadz ,

Is there a chance to have this merged or any update that can fix this problem ?

Regards,

jucrouzet avatar Nov 10 '22 06:11 jucrouzet

New changes are detected. LGTM label has been removed.

improbable-prow-robot avatar Nov 10 '22 10:11 improbable-prow-robot

I pushed changes to this to fix a callback ordering issue and added integration tests. Thanks for the contribution 👍

MarcusLongmuir avatar Nov 10 '22 10:11 MarcusLongmuir

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

improbable-prow-robot avatar Nov 10 '22 10:11 improbable-prow-robot

Thanks a lot

jucrouzet avatar Nov 10 '22 10:11 jucrouzet