Skip to content

Is that-depends possible to support inject almost everywhere without wiring? #39

@rumbarum

Description

@rumbarum

I used to use dependency-injector(di) for inject config, complex obj or so on everywhere,
like described on their docs.

As I know, wiring is a key action which reads code and replace initial dummy obj (Provide(...)) to real one(injecting object) before run python process.
I also have experienced injecting from central Container instance made circular import error if i use container directly over related modules and that case only literal inject works supported by wiring.

Will that-depends provide similar usage covering this case without wiring?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions