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 support to the API #121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VoyTechnology
Copy link

@VoyTechnology VoyTechnology commented Jan 9, 2024

The change adds context.Context support to the APIs. The context is
currently unused and just serves as an API change before more
functionality is added (eg. tracing).

This is a breaking API change.

Closes #100

The change adds context.Context support to the APIs. The context is
currently unused and just serves as an API change before more
functionality is added (eg. tracing).

This is is a breaking API change.
@ElecTwix
Copy link
Contributor

ElecTwix commented Jan 9, 2024

Hi @VoyTechnology,

Thanks for your PR.

I understand the importance of using contexts, but I'm not sure we should add them while we're not utilizing them in a useful way yet.

We should also consider that we'll be making some major changes in the future to try to be compatible with the golang standard interface (database/sql). Once these changes are implemented, I think we could then consider adding contexts.

Please let me know what you think. We can discuss this further if you'd like.

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.

Feature: context.Context Support
2 participants