elm-protobuf icon indicating copy to clipboard operation
elm-protobuf copied to clipboard

support gRPC services

Open tmc opened this issue 9 years ago • 6 comments
trafficstars

this could generate typed client code for grpc services

tmc avatar Jun 13 '16 02:06 tmc

Indeed, it would be nice to generate gRPC stubs; I don't expect to be able to implement this in the short term, but it's definitely on my list. Feel free to send contributions if you wish

tiziano88 avatar Jun 13 '16 10:06 tiziano88

I think in order to support the real gRPC protocol, we would have to first implement protobuf binary serialization (not just JSON) over HTTP2, which is a considerable amount of work. But I'm leaving this open in case anyone has any ideas on how to go about that!

tiziano88 avatar Aug 23 '16 16:08 tiziano88

https://spatialos.improbable.io/games/grpc-web-moving-past-restjson-towards-type-safe-web-apis

krestenkrab avatar Apr 28 '17 11:04 krestenkrab

Would it be an option to generate the proto/grcp library in javascript using existing tools and then call it from elm ?

azr avatar May 19 '17 14:05 azr

Just a note: grpc is supposed to be serialization agnostic, with a preference for protobufs. Also since proto3, json is an official serialization format supported by the proto spec.

awalterschulze avatar Jun 21 '17 13:06 awalterschulze

Now we have grpc-web, will this help?

qwfy avatar Jan 25 '19 01:01 qwfy