mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
RPC methods in protobuf are commonly declare in PascalCase, but they were generated lowercase by ClientGrpcProxy.getService method. Protobuf and gRPC have tools to generate interface and message in Typescript directly from protobuf. It's a powerful feature that's helping to maintain only one source of truth. But with that lowercase method generation, developers were forced to define their own interface which can be painful to maintain. This commit fix that issue by generating methods both in lowercase and in uppercase. Solves #9047 Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>