Skip to content

Conversation

jhump
Copy link
Owner

@jhump jhump commented Oct 6, 2022

The grpcreflect client has, up to this point, only worked with the original "v1alpha" version of server reflection.

This updates it to also work with v1. This requires a tweak to the API, since it previously included "v1alpha" in the method signature, requiring the caller to provide a v1alpha RPC stub.

Now the caller can provide a connection interface (not a particular stub), and the client can try both, attempting to use v1 first and then falling back to v1alpha if that returns an "unimplemented" error.

@jhump jhump force-pushed the jh/reflection-v1 branch from 8c060c4 to 71c2a11 Compare October 6, 2022 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant