Open guyguy333 opened 3 years ago
👍 for this
desired functionality can be e.g. found in grpcurl's --import-path
Same issue as in https://github.com/Kong/insomnia/issues/5095 "Send" button unresponsive in grpc request
@guyguy333 @bu4ak you should be able to use gRPC server reflection on latest Insomnia version, which might help with these kinds of issues - https://github.com/Kong/insomnia/releases/tag/core%402022.7.5
@filfreire I am running into this same issue. There are unfortunately cases where server reflection is not an option, so this renders the grpc features of the app completely unusable. This is a feature included in similar tools such as postman and bloomRPC, as well as grpccurl as @handsomejack-kiwi mentioned above.
Is there an existing issue for this?
Insomnia Version
2021.5.3
What operating system are you using?
macOS
Operating System Version
macOS Big Sur 11.6
Installation method
homebrew
Last Known Working Insomnia version
2021.5.3
Expected Behavior
Let's consider this proto hierarchy:
I would like to be able to import my protos without issues.
Actual Behavior
Currently, when you Add Directory, in my case
protos
, it adds all proto files recursively. This is not what I expect / would like as it leads to a behaviour I can't fix asa.proto
will be loaded, trying to includecommon.proto
, exceptprotos/microservicea
was not added to import directory. It fails.In Go and TS, we generate protos for each micro service including:
protos
) , but it doesn't import recursively protosprotos/microservicea
)Reproduction Steps
See description in Expected behaviour to reproduce the issue.
Additional Information
Maybe a "Add Import Directory" (adding include path without importing protos) could solve the issue