Skip to content

Use context, when provided #125

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

torrefatto
Copy link

Hi and thanks for this nice library!

I am opening this PR to discuss the possible avenues to propagate the context, when provided.
I noticed that, in BeginTx the context was not used and this led me to fall into the rabbit hole.
I am not sure this implementation is sound, but I would take it as a starting point.

I took the chance to bump some dependency 😊

Let me know what do you think.

This commit tries to make use of the provided context. It modifies the
stmt to store it and then, when a context is provided, it is merged with
the stored one.
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.

1 participant