grpc-ecosystem / protoc-gen-grpc-gateway-ts

protoc-gen-grpc-gateway-ts is a Typescript client generator for the grpc-gateway project. It generates idiomatic Typescript clients that connect the web frontend and golang backend fronted by grpc-gateway.
Apache License 2.0
142 stars 51 forks source link

Support nested fields, path segments #31

Open mbarrien opened 2 years ago

mbarrien commented 2 years ago

Closes #28

Adds support for 2 related cases in URLs:

While here, use the newer protoc-gen-go-grpc plugin for generating server test code, due to deprecated usage of plugin=grpc (see https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support)

hcwang512 commented 2 years ago

This fix works perfect for our use case, please merge it. @mbarrien

yeluyang commented 2 years ago

we really need this patch, can someone do some magic and make ci happy ? 😭