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

Add test for reusing middleware Tx in handler #26

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

connec
Copy link
Member

@connec connec commented Oct 27, 2023

  • 5c6e8bd chore: add test for reusing middleware Tx in handler

    This tests that when a Tx handle is dropped in a middleware before
    running the handler, the handler is able to use the same underlying
    transaction. Resolves How to use a Tx in a middleware fn? #23.

This tests that when a `Tx` handle is dropped in a middleware before
running the handler, the handler is able to use the same underlying
transaction. Resolves #23.
@connec connec merged commit fcba66c into master Nov 1, 2023
19 checks passed
@connec connec deleted the extract-in-middleware branch November 1, 2023 13:11
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.

How to use a Tx in a middleware fn?
1 participant