Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constructor dependency injection #43

Open
Narayane opened this issue Nov 8, 2020 · 1 comment
Open

Constructor dependency injection #43

Narayane opened this issue Nov 8, 2020 · 1 comment

Comments

@Narayane
Copy link

Narayane commented Nov 8, 2020

Hi,

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

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

@serjooo
Copy link

serjooo commented Dec 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants