--

Hi, the reason for a specific interface is just a matter of convenience. If you do myInjector.get(AccountService.class) then it will be able to saw all dependencies automatically. If it is just a generic interface, it will not. That's all.

But thanks for raising that problem, I was aware for a long time, and I will probably take some action.

Thanks!

--

--

David Rodenas PhD
David Rodenas PhD

Written by David Rodenas PhD

Passionate software engineer & storyteller. Sharing knowledge to advance our skills. Join me on a journey of discovery in the world of software engineering.

Responses (1)