-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement path extractor. #124
Conversation
…::UrlParamsMap`. (tokio-rs#124)
04ccdb3
to
b358041
Compare
extract::UrlParams
and extract::UrlParamsMap
.
I want to replace And I did not mark |
Yeah sounds great!
👍 |
I also modified all the tests for |
b358041
to
696eee5
Compare
This is a description copied from |
696eee5
to
eed457b
Compare
eed457b
to
51c57c9
Compare
I think I have done it, and did not directly copy the |
51c57c9
to
392bae7
Compare
392bae7
to
c0dd4d2
Compare
Great work! I'll review this later today. |
c0dd4d2
to
f6e5cd9
Compare
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.
I'm really excited for this! Using Path
is so much nicer than UrlParams
and UrlParamsMap
!
I had a few minor comments but otherwise I think this looks good. Great job!
f6e5cd9
to
c5c0f26
Compare
I have changed these. 🙂 |
By the way small thing: I would prefer if you didn't force push. It makes it a little easier to review exactly whats changed in the commits 😊 |
Well, I will not force push again after your review next time. 🙂 |
0.1.3 (06. August, 2021) - Fix stripping prefix when nesting services at `/` ([#91](#91)) - Add support for WebSocket protocol negotiation ([#83](#83)) - Use `pin-project-lite` instead of `pin-project` ([#95](#95)) - Re-export `http` crate and `hyper::Server` ([#110](#110)) - Fix `Query` and `Form` extractors giving bad request error when query string is empty. ([#117](#117)) - Add `Path` extractor. ([#124](#124)) - Fixed the implementation of `IntoResponse` of `(HeaderMap, T)` and `(StatusCode, HeaderMap, T)` would ignore headers from `T` ([#137](#137)) - Deprecate `extract::UrlParams` and `extract::UrlParamsMap`. Use `extract::Path` instead ([#138](#138))
- Fix stripping prefix when nesting services at `/` ([#91](#91)) - Add support for WebSocket protocol negotiation ([#83](#83)) - Use `pin-project-lite` instead of `pin-project` ([#95](#95)) - Re-export `http` crate and `hyper::Server` ([#110](#110)) - Fix `Query` and `Form` extractors giving bad request error when query string is empty. ([#117](#117)) - Add `Path` extractor. ([#124](#124)) - Fixed the implementation of `IntoResponse` of `(HeaderMap, T)` and `(StatusCode, HeaderMap, T)` would ignore headers from `T` ([#137](#137)) - Deprecate `extract::UrlParams` and `extract::UrlParamsMap`. Use `extract::Path` instead ([#138](#138))
Since GitHub doesn't make it obvious and some people seem to not know about: It's possible to click on the "force-push" text to see the diff of the force-pushed changes. Tho that doesn't replace follow-up changes with a commit message of course |
Fixes #42