Skip to content

Creating the container with a context is not possible #209

Description

@KnisterPeter

Hi there,

I'm missing to create a dependency graph with a context. So in case something goes havock to cancel the creation. E.g. a database setup which should do some initialization when created.

Currently there is no lifecycle or invoke with context. Only on shutdown this is possible.
In the provided examples the context.Background is used, but that is not sufficient for cancelation.

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