-
Notifications
You must be signed in to change notification settings - Fork 172
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
Implement Client Streaming and BiDi Streaming for grpc-web #82
Implement Client Streaming and BiDi Streaming for grpc-web #82
Conversation
# Conflicts: # examples/generated/examplecom/simple_service_pb_service.d.ts # examples/generated/proto/examplecom/simple_service_pb.d.ts # examples/generated/proto/examplecom/simple_service_pb.js # examples/generated/proto/examplecom/simple_service_pb_service.js # package.json # proto/examplecom/simple_service.proto # test/integration/service/grpcweb.ts
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. |
@pjm17971 if could have some time to review that would be awesome, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know all the context of this code, but it looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@pjm17971 If you can, could you please try upgrading to 0.7.7-pre.5959599 of ts-protoc-gen and give some feedback on how you get on? |
* upstream/master: Transport member of ServiceClientOptions should be optional (improbable-eng#125) Allow canceling unary calls (improbable-eng#124) CI should check that generated code has been committed (improbable-eng#127) Bumped to v0.7.8-pre (improbable-eng#123) Prepare 0.7.7 release (improbable-eng#112) Clean up Bazel Installation during Travis Build (improbable-eng#122) Don't deploy .deb files to npm (improbable-eng#121) Fix snake_cased oneof message are generated to incorrect types (improbable-eng#118) Make ServiceError optionally null (improbable-eng#116) Be explicit about the need for a CommonJS environment. (improbable-eng#108) Replace usage of `Object.assign` (improbable-eng#110) Add hint for Windows users (improbable-eng#107) Collapse Bazel Instructions in README (improbable-eng#106) Implement Client Streaming and BiDi Streaming for grpc-web (improbable-eng#82) Add support for jstype annotation (improbable-eng#104)
Fixes #66
This PR provides support for both Client Streaming and BiDirectional Streaming to the generated service stubs.
As an additional drive-by, I've also provided support for debugging the tests using a connected Chrome Inspector/Debugger.