grpc icon indicating copy to clipboard operation
grpc copied to clipboard

Add "list" command

Open jgaskins opened this issue 1 year ago • 2 comments

Reported by @bendangelo here

TODO: Find and link to docs for this command — I've never heard of it before 😄

jgaskins avatar Jun 12 '24 18:06 jgaskins

According to these docs. The sever should respond to "list".

https://github.com/fullstorydev/grpcurl

# Server supports reflection
grpcurl localhost:8787 list

bendangelo avatar Jun 12 '24 23:06 bendangelo

That's not gRPC documentation. That's a third-party tool.

Looks like this is related to the concept of "reflection" in gRPC and, according to the gRPC docs, first-party libraries don't enable reflection automatically. I'm down with adding support, but that's an important distinction to make, especially for gRPC APIs exposed outside a VPC.

jgaskins avatar Jun 12 '24 23:06 jgaskins