Skip to content

Review Client Ownership #232

@strawgate

Description

@strawgate

We have an established pattern where store constructors can take a client directly or the parameters required for us to create a client.

Currently we "own" the client once it's passed to us. We should consider requiring the user to handle setup/teardown of clients they provide. This means we would not enter the client context manager, etc.

We need to establish the pros/cons of this approach, we can ignore that it's a breaking change for now as the stores are not yet stable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions