-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to collect rules from proto descriptors #145
Comments
What do you mean by "collecting"? If you are encountering an issue with something, could you elaborate on what you're trying and what unexpected behavior you are seeing? |
Oh, right. I want to set up gRPC-JSON transcoding for dynamic schema. I found the option |
@rauanmayemir, those are for rules that are not in the schema. So if you have RPC services defined in Protobuf that did not declare any HTTP rules, you can supply them -- like "sidecar" configuration, to map RPC services to REST even if they were not originally designed for REST. If your options are in the schema, then just pass the descriptors when you create the services. |
Understood, thanks! I want to see how it works, where exactly those routes are being set up? (the ones matching the proto schema) |
Just found a reason this didn't work. For dynamic pb schema, I also need to pass |
How do I go about collecting
google.api.http
annotations from dynamic proto schema?I tried to check examples, but they add HttpRules manually.
P.S: Should github discussions be enabled for this kind of questions?
The text was updated successfully, but these errors were encountered: