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

feat: implement FromRef for State into sqlx pool #42

Merged
merged 1 commit into from
May 15, 2024

Conversation

arcstur
Copy link
Contributor

@arcstur arcstur commented May 14, 2024

this allows accessing the pool with axum's state extractor in handlers

solves #41

this allows accessing the pool with axum's
state extractor in handlers
Copy link
Member

@connec connec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, and thank you so much for the PR!

I'll try to make a release soon, but I also want to remove all the spurious cargo features from the crate so it might take a few days. You should be able to use it from git 'til then at least :)

@connec connec merged commit 28db0ca into digital-society-coop:master May 15, 2024
19 checks passed
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 this pull request may close these issues.

2 participants