Skip to content

Suggestion for better usage #924

@rumbarum

Description

@rumbarum

I really like this project.
I always put this on the top of dependency list for Python project.
The coverage of this lib: all Python Object, flexible use case and customizable are fascinating.

But there is lack of guard, and I have learned how to handle it by suffering.

I think this might helpful,

  1. Guaranteed Correct DI attr on bootstrap:
    1.1. Check Literal str Injection if attr is exist.
    1.2. Check wiring missed Provide[...]
    1.3. Checking provider args.

  2. Reliable Container Initializing:
    I have written code initializing container 2 times. Cause was wiring including container initializing. But there was no sign, just side effect. I hardly found that after some problem.

Thanks for your effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions