-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
🚀 Feature
Hello! I'm interested in a way to specify how to map http headers to fields a in gRPC request / response. I see this is noted in the readme as "patches welcome":
Method parameters in HTTP headers.
I'm happy to do some work in this area, but I'd like to sanity check my approach first.
Specifically, I'm hoping there can be some generic way of specifying these, similar to the existing google.api.http
headers. I have a proposal I've added here: googleapis/googleapis#1005
Ideally we could go with the Google route, but I am also working on an evolution of the AIPs known as "aep.dev" (https://aep.dev/blog/history-of-aeps/), in which we are proposing our own proto extensions. If there's interest, we could add a similar generic mechanism to describe the extension (example of our fork of long-running operations here: https://github.com/aep-dev/aep-components/blob/main/proto/aep-api/aep/api/operation.proto#L37).
Thoughts on either of those approaches? or would a different approach be preferred?