grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.62k stars 765 forks source link

Typescript Generator #862

Open behunin opened 4 years ago

behunin commented 4 years ago

Is your feature request related to a problem? Please describe.

What is the plan for typescript support?

Describe the solution you'd like

I have created a new typecript generator for protobuf but they think it belongs here and so do I. See Here

Describe alternatives you've considered

Are There?

Additional context

This brings BigInt support and floating point precision. Proto3 only -- no Group type or Extensions

stanley-cheung commented 4 years ago

This belongs more to the grpc/grpc-web repo.

behunin commented 4 years ago

Thank you for moving this issue to the right place @stanley-cheung :smile: Now I know this is in good hands. I am looking forward to the future of grpc-go when it fully utilizes protobuf-go, mainly due to the fact that I will be able to pass binary objects through a bytes field i.e. attestationObject

I wanted to have a fully typed client for my frontend projects and after I had done that I ended up with two fractured tibias and then covid happened. So I went overboard and did a whole rewrite. :rofl:

I know that this makes some big changes to the whole client api, so I would like to thank in advance anyone that goes over this.

behunin commented 3 years ago

@markdroth @stanley-cheung Thoughts? Opinions?