-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow setting up grpcreflection for dynamic schemas #80
Comments
Correction, I cannot create a custom reflector with |
@rauanmayemir, the type names []string
func (n names) Names() []string {
return n
} |
So I could actually inject my own implementation of |
While I can easily re-implement the namer part, almost everything is needed to be re-implemented as well due to private types: reflector, resolver, options. |
I don't really understand what you are trying to do. You can easily use this repo with dynamic schemas using |
Oh, let me try that. Yes, that's what I needed but only looked into the function implementations without accounting for options. |
It turned out to be trivial, thank you. 🙌 |
Currently
connectrpc.com/grpcreflect
will not work with dynamic schemas.It defers to
protoregistry.GlobalFiles
and even if I want to specify my own types, it is not trivial as I have to re-type all the things from under the hood to set up a custom Reflector.The text was updated successfully, but these errors were encountered: