DIKit icon indicating copy to clipboard operation
DIKit copied to clipboard

Constructor dependency injection

Open Narayane opened this issue 3 years ago • 1 comments

Hi,

Unlike Koin, it seems constructor dependency injection is not supported, doesn't it?

Capture d’écran 2020-11-08 à 23 19 26

Narayane avatar Nov 08 '20 22:11 Narayane

Hey @Narayane,

Since resolve exists in the same scope you would need to help the compiler here and do the following DIKit.resolve() and it should work fine

serjooo avatar Dec 07 '20 20:12 serjooo