ktr0731 / evans

Evans: more expressive universal gRPC client
MIT License
4.23k stars 187 forks source link

v1/v1alpha support for gRPC reflection #692

Open flokli opened 1 month ago

flokli commented 1 month ago

Describe the bug

It's not possible to use gRPC reflection for a service only implementing the v1 variant of gRPC reflection.

This can be observed when pointing evans to a tonic gRPC server that only supports the v1 variant (see https://github.com/hyperium/tonic/pull/1787).

Expected behavior

I'd expect evans to try both v1 first and fall back to v1alpha for reflection.

Environment

Additional context