-
Notifications
You must be signed in to change notification settings - Fork 20
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
client/ts-web: bump grpc-web from 1.3.1 to 1.4.0 in /client-sdk/ts-web #1137
client/ts-web: bump grpc-web from 1.3.1 to 1.4.0 in /client-sdk/ts-web #1137
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1137 +/- ##
=======================================
Coverage 67.81% 67.81%
=======================================
Files 131 131
Lines 11575 11575
=======================================
Hits 7850 7850
Misses 3693 3693
Partials 32 32 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I've been notified that grpc/grpc-web#1285 will affect us |
Bumps [grpc-web](https://github.com/grpc/grpc-web) from 1.3.1 to 1.4.0. - [Release notes](https://github.com/grpc/grpc-web/releases) - [Changelog](https://github.com/grpc/grpc-web/blob/master/CHANGELOG.md) - [Commits](grpc/grpc-web@1.3.1...1.4.0) --- updated-dependencies: - dependency-name: grpc-web dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
This reverts commit 6065330.
d2ba907
to
aea7354
Compare
seems |
ok for our information, the echo example from grpc-web generates this client code: /**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.grpc.gateway.testing.EchoRequest,
* !proto.grpc.gateway.testing.EchoResponse>}
*/
const methodDescriptor_EchoService_Echo = new grpc.web.MethodDescriptor(
'/grpc.gateway.testing.EchoService/Echo', // (1)
grpc.web.MethodType.UNARY,
proto.grpc.gateway.testing.EchoRequest,
proto.grpc.gateway.testing.EchoResponse,
/**
* @param {!proto.grpc.gateway.testing.EchoRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.grpc.gateway.testing.EchoResponse.deserializeBinary
);
/**
* @param {!proto.grpc.gateway.testing.EchoRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.grpc.gateway.testing.EchoResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.grpc.gateway.testing.EchoResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.grpc.gateway.testing.EchoServiceClient.prototype.echo =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/grpc.gateway.testing.EchoService/Echo', // (2)
request,
metadata || {},
methodDescriptor_EchoService_Echo,
callback);
}; (comments added) i.e. they repeat the method name in the method descriptor constructor argument (1) and in the full url (2) given to internally, rpcCall does this:
ugh |
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.
we should probably release this so that downstream projects that upgrade to grpc-web 1.4.0 don't break
@dependabot merge
ok as long as required tests pass and applicable tests pass |
Bumps grpc-web from 1.3.1 to 1.4.0.
Release notes
Sourced from grpc-web's releases.
Changelog
Sourced from grpc-web's changelog.
Commits
17e6a81
Bump protoc plugin version to1.4.0
(#1282)1e8e8c9
Bump version to 1.4.0 (#1281)903601a
fixes the status codes ordering (#1279)b3d7dbd
Fix Enum with module in generated TS interface. (#1278)94a98d7
Add Tonic framework to README.md (#1273)a5bd765
Fix code and documentation to passdeadline
metadata as a String. (#1269)ccef7bd
Mention supported streaming modes. (#1265)39200f6
Point to the new/protocolbuffers/protobuf-javascript
protoc and add note (...056a1c6
Add new "ecosystem" section. (#1261)e1660d7
Mention Apache APISIX as a proxy with grpc-web support. (#1260)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will merge this PR once CI passes on it, as requested by @pro-wh.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)