-
Notifications
You must be signed in to change notification settings - Fork 130
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
[BUG] grpc-transport does not pass along provided deadline option #77
Comments
timostamm
added a commit
that referenced
this issue
Jan 25, 2021
This is work in progress! It is not tested whether the arrival of the deadline is handled properly.
Released in v2.0.0-alpha.12 |
Just tested this. Setting the deadline option in the transport CTOR or a method call arg works. The following error is raised if the deadline is too short:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Considering this
callOpts
part is commented out in each of the call types I assume this was thought about at one point. It is clear from trying to debug this by passing along the full inputoptions
parameter that that solution won't work. It seems like picking individual keys out of the passedoptions
is the only way this will work.protobuf-ts/packages/grpc-transport/src/grpc-transport.ts
Lines 52 to 59 in bb4a4fc
protobuf-ts/packages/grpc-transport/src/grpc-transport.ts
Lines 120 to 127 in bb4a4fc
protobuf-ts/packages/grpc-transport/src/grpc-transport.ts
Lines 184 to 190 in bb4a4fc
The text was updated successfully, but these errors were encountered: