warmuuh/milkman

Grpc - any way to use existing proto files?

codesurf42 opened this issue · 2 comments

I am looking for alternatives to BloomRPC and I have found your project. I wonder if I am missing something but I cannot see any option to use existing proto files within grpc plugin. There is only a way to copy-paste proto content into the Milkman client.
I am not sure how it can work that way with multiple proto files inclued in the definition of a single proto file.

Version 5.8.0

Many thanks for explanation.

Hi. yes, currently, only a single proto file is supported. also, no external references are allowed, so you would need to manually flatten the file. there is support for server-reflection though (if you check the checkbox next to the grpc operation).

to be honest, up until now, a single field was enough for most usecases, but i do understand the need for supporting multiple files. I might think about adding an import-functionality to bulk-import several files at once...

Thank you for quick answer. For reference, grpcurl can handle multiple files (but it is only cli), I wonder what other java clients have this functionality so that could be borrowed from...