protoc-gen-grpc-gateway-ts icon indicating copy to clipboard operation
protoc-gen-grpc-gateway-ts copied to clipboard

Support additional_bindings

Open mbarrien opened this issue 2 years ago • 1 comments

The parser and generator should add support for methods with additional_bindings, allowing multiple different URLs to access the same gRPC endpoint. The current code only renders code for the outer method, but silently ignores the additional_bindings.

This is especially useful when you have bindings using different HTTP verbs, like PUT and PATCH, that hit the same gRPC method but may use different verbs, or populate different fields from the URL.

mbarrien avatar Apr 07 '22 18:04 mbarrien

I had the same problem 🙏

nicole-lihui avatar Jan 25 '24 03:01 nicole-lihui