I created a custom option extension that I use in my proto files, like this:
service Fishtank {
rpc GetFish(FishQuery) returns (Fish) {
option (protapi.http).get = "/fish/{id}";
}
}
It doesn't seem that once it is compiled into Ruby code, I can access the value of the protapi.http option. I believe this can be done in other languages by accessing the descriptor.
Am I missing something, or is this not possible right now?
I created a custom option extension that I use in my proto files, like this:
It doesn't seem that once it is compiled into Ruby code, I can access the value of the
protapi.httpoption. I believe this can be done in other languages by accessing the descriptor.Am I missing something, or is this not possible right now?