Adven27 / grpc-wiremock

gRPC Mock Server
MIT License
93 stars 40 forks source link

generate unambiguous class and method names #7

Closed marzocchi closed 3 years ago

marzocchi commented 3 years ago

When compiling proto files that define the same service name in different packages (such as these), Template.java ends up containing duplicate class and method names, and compileJava fails, as reported in #5.

This PR addresses the issue by generating class names that include the package path, such as SomeserviceV2SomeService.

marzocchi commented 3 years ago

thanks!