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

Allow merging two Extensions maps #525

Closed
jplatte opened this issue Feb 21, 2022 · 3 comments · Fixed by #546
Closed

Allow merging two Extensions maps #525

jplatte opened this issue Feb 21, 2022 · 3 comments · Fixed by #546

Comments

@jplatte
Copy link
Contributor

jplatte commented Feb 21, 2022

Motivation: tokio-rs/axum#770

Prior art: The anymap crates allows this through map1.extend(map2.into_raw()) (AFAICT, haven't tested)

@jplatte jplatte changed the title Allow merging two Extensions Allow merging two Extensions maps Feb 21, 2022
@jplatte
Copy link
Contributor Author

jplatte commented Mar 1, 2022

Seems like this isn't actually needed for that axum feature.

@jplatte
Copy link
Contributor Author

jplatte commented Apr 19, 2022

We're back to wanting this in axum 😄

tokio-rs/axum#950 (comment)

@jplatte jplatte reopened this Apr 19, 2022
@jplatte
Copy link
Contributor Author

jplatte commented Apr 19, 2022

I'll create a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant