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

Type-safe context #44

Open
johannescpk opened this issue Aug 26, 2022 · 0 comments
Open

Type-safe context #44

johannescpk opened this issue Aug 26, 2022 · 0 comments

Comments

@johannescpk
Copy link

Currently context registration / consumption isn't type-safe and can fail at runtime. Axum somehow figured out how to make it type-safe. Didn't have the chance yet to look into the details, but thought I leave this here as a reminder / hint:

https://tokio.rs/blog/2022-08-whats-new-in-axum-0-6-0-rc1

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

No branches or pull requests

1 participant