pcah/python-clean-architecture

DI: Container - TypeError when constructor hasn't been found

Closed this issue · 1 comments

lhaze commented

The solution I've introduced has a flaw: fails bad when dependency has not been found:
TypeError: get_object() argument after * must be an iterable, not NoneType

Find a clean way to communicate it as a configuration error.

lhaze commented

Resolved by #37