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 context.Context #497

Merged
merged 7 commits into from
Dec 7, 2019
Merged

Add context.Context #497

merged 7 commits into from
Dec 7, 2019

Conversation

stanislas-m
Copy link
Member

The implementation may work, but I haven't been able to test it and won't for some time. It does compile and existing tests still work (last I checked before merging development in).

If someone would like to verify this works, this could get merged in.

Additionally it would probably be beneficial to add this to the middleware in Buffalo to append the context on the tx in the context.

This PR is a rebased version of #472.

@stanislas-m stanislas-m requested a review from a team as a code owner December 7, 2019 10:01
@stanislas-m stanislas-m mentioned this pull request Dec 7, 2019
@stanislas-m stanislas-m merged commit 589293a into development Dec 7, 2019
@stanislas-m stanislas-m deleted the ec2-software-context branch December 7, 2019 10:04
@aeneasr
Copy link
Member

aeneasr commented Feb 11, 2020

Using this patch, and WithContext(ctx), I am hitting sql: converting argument $1 type: unsupported type []interface {}, a slice of interface-ish errors almost everywhere. Without WithContext(ctx) all the statements work fine.

aeneasr added a commit to aeneasr/pop that referenced this pull request Feb 11, 2020
@aeneasr
Copy link
Member

aeneasr commented Feb 11, 2020

Found the culprit: #497

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.

3 participants