-
Notifications
You must be signed in to change notification settings - Fork 285
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
Use server reflection as a valid input for proto files #3171
Comments
Thanks for filing this issue! From our perspective, the descriptors returned from reflection does not contain information such as That being said, the Proto descriptors and subsequently the Protobuf definitions inferred/generated from
|
@doriable what i am suggesting is inlining what grpcurl does into buf cli, as this will greatly simplify developer experience by not having to maintain 2 binaries just to generate protos if you are accepting contributions I can create a PR |
I have understood the original request and apologies, I should've elaborated more in my previous response. The That being said, we can explore supporting similar features for interacting with the reflection protocol through |
Feature
The reflection protocol (defined here) can be used to retrieve all available services hosted on a grpc server.
using this rpc it's possible to invert the returned proto descriptors back into their original .proto file format (grpcurl just did this recently).
Thus making it possible to use as input in buf cli, mainly
buf generate
The text was updated successfully, but these errors were encountered: