Skip to content

feat: Magic to take and honor a context #125

@ayashjorden

Description

@ayashjorden

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

As this library is consumed by other projects, it is desirable to enable passing in a context object, thus supporting cancel-s, timeouts, and more.
This issue may be further broken down to the different functionality-areas (Storage being just one), avoid huge PRs and dependencies.

Desired Solution you'd like

Update StorageAdapter interface's methods to take a context as first argument (golang standard), and pass it internally to DB client libraries.

Determine what other areas in the codebase need to support passing in a context.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update go code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions