Skip to content

Register on context #34

@trollfot

Description

@trollfot

Hello.

I've been away from using this project for a while and now, coming back to it and getting familiarized with the many changes, I realize I have a gap in my needs.

Previously, i was able, to add providers to a context, with a simple register. It seems it's no longer the case. Am I missing a key info ?

Code roughly looked like :

        with container.context() as context:
            context.register(Scoped(myFactory))

Thanks

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