Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(reflection): Add dummy implementation for extension #1209

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

tottoto
Copy link
Collaborator

@tottoto tottoto commented Dec 21, 2022

Motivation

Allows grpcurl to use reflection.

Solution

Returns a dummy response against an all_extension_numbers_of_type request instead of an error response. This is a workaround approach to #1077. As extensions are not supported in prost (tokio-rs/prost#674), we might not be able to handle it in tonic layer.

@tottoto tottoto force-pushed the reflection-workaround branch from a2f9394 to b50122c Compare December 21, 2022 04:18
@tottoto tottoto changed the title chore(reflection): Add dummy implementation for extension feat(reflection): Add dummy implementation for extension Dec 21, 2022
@LucioFranco LucioFranco merged commit fdff111 into hyperium:master Dec 22, 2022
@tottoto tottoto deleted the reflection-workaround branch December 22, 2022 16:32
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.

2 participants