Skip to content

Injector configuration #65

@chkoar

Description

@chkoar

Great work!

IMHO configure, configure_once and clear_and_configure could be merged to just configure.

configure should not raise an exception. If the intention is to inform the user that the injector is already configured, the warnings module could be used. clear_and_configure could be achieved by using a clear argument in configure, having as default whatever you want. configure_once could be the default (or not) behaviour of configure. The same can be applied by having an extra argument.

I may missing something cause I am new to the library but that's my input.

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