-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support for multi-segment elements #122
Comments
This issue is variable cannot be captured from multiple path components when using
|
Odd. That looks exactly what I tried and couldn't get to work. I'll see if I can reproduce it from current master. |
@bluecmd, did you ever have any luck reproducing it from master? I'm doing a little bit of tidying so I'm going to close this but feel free to reopen this issue if you have more information. |
I don't remember TBH, I'll reopen if I run into this again in the future! |
Hi,
I interpret https://github.com/googleapis/googleapis/blob/master/google/api/http.proto#L191 as it should be OK to for example write:
.. and in this case make the the URL http://localhost:8080/v1/example/a_bit_of_everything/foo/bar valid (uuid would then become "foo/bar").
Changing to
{uuid=*}
and comparing the generated protobuf code with just{uuid}
results in no diff, excellent! Changing to{uuid=**}
provides this diff:Which seems to be replacing a OpPush with OpPushM which seems exactly what we want.
Recompiling the example, adding debug output to the gRPC backend server, and trying to access the webpage gives:
but
What gives?
The text was updated successfully, but these errors were encountered: