-
-
Notifications
You must be signed in to change notification settings - Fork 335
Open
Labels
Description
Is there a way to auto-wire?
e.g.:
class B:
@Inject
def init(self, registered_class: IRegisteredClass):
...
Why do I need to specify Provider[...]. If all are wired why not just auto-wire IRegisteredClass interface to the object that is registered in some container that implements this interface?
Alexqwesa, filipnestak, SeanWoo, dbarwacz, verhovensky and 2 moreJobaDiniz, filipnestak, SeanWoo, dbarwacz and Taekhyang