-
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 colon in final path segment, last match wins behavior (behind flags) #949
Support colon in final path segment, last match wins behavior (behind flags) #949
Conversation
… flags) Signed-off-by: James Hamlin <[email protected]>
9329590
to
445bb92
Compare
Hi @jfhamlin, thanks for the contribution! Looks like you need to regenerate some of the example files, please see CONTRIBUTING.md for two docker one liners you can run. |
Signed-off-by: James Hamlin <[email protected]>
6505676
to
d11e56d
Compare
Done! |
Codecov Report
@@ Coverage Diff @@
## master #949 +/- ##
==========================================
+ Coverage 53.06% 53.23% +0.17%
==========================================
Files 40 40
Lines 3969 3999 +30
==========================================
+ Hits 2106 2129 +23
- Misses 1667 1672 +5
- Partials 196 198 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this brilliant contribution!
This appears to be breaking existing projects with:
Test link: https://circleci.com/gh/grafeas/grafeas/1066?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link. Could you provide some insight into what's broken? |
@aysylu I've just released 1.9.2, which should fix your build. As a general note, the error you're getting is because you're using the |
@johanbrandhorst we were able to get around the issue updating our config and pointing to |
Hm, how are you generating the files and versioning the runtime? I'd be very interested in hearing of 1.9.2 is broken. |
… flags) (grpc-ecosystem#949) * Support colon in final path segment, last match wins behavior (behind flags) Signed-off-by: James Hamlin <[email protected]> * Update examples Signed-off-by: James Hamlin <[email protected]> Fixes grpc-ecosystem#224
Addresses #224. Reintroduces changes from #708, this time behind a command line flag (
-allow_colon_final_segments
) and adds a new option toruntime.ServeMux
to enable "last match wins" behavior. Please see discussion in #224 and #708 for context.