Re:Connect: A Better gRPC
by codebutler on Wednesday June 01, 2022 @03:09PM
(#31586568)
Curious to see their typescript implementation and how it compares with https://github.com/stephenh/ts-proto which works great for grpc-web.
[ Parent
| on HN ]
https://github.com/bufbuild/protobuf-es/blob/main/docs/gener...
And there's also this which is by the same author but came before it: https://github.com/timostamm/protobuf-ts
The latter has code-generation for services and has various transport packages for twirp, grpc, and grpc-web.
Re:Connect: A Better gRPC
by akshayshah on Wednesday June 01, 2022 @10:26PM
(#31590586)
You found us :) That's the very early version of the marshaling support - it's pure ECMAScript, so it'll work in browsers, Node, or Deno.
`connect-web` will add the RPC layer, built on top of the browser's `fetch` API.