Skip to content
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

Backport TypedPath::to_uri #809

Merged
merged 3 commits into from
Mar 1, 2022
Merged

Backport TypedPath::to_uri #809

merged 3 commits into from
Mar 1, 2022

Conversation

davidpdrsn
Copy link
Member

Backports #790 to 0.4.x

matze and others added 2 commits March 1, 2022 12:09
* Easily convert typed paths into URIs

`#[derive(TypedPath)]` will now also generate `TryFrom<_> for Uri` for
easily converting paths into URIs for use with `Redirect` and friends.

Fixes #789

* Use a method on the `TypedPath` trait to convert to `Uri`

* fix doc ref

* Update changelogs
These accidentally weren't removed in #790
@davidpdrsn davidpdrsn merged commit 84cbb66 into v0.4.x Mar 1, 2022
@davidpdrsn davidpdrsn deleted the backport-typed-path-to-uri branch March 1, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants