ferranabello/Viperit

Dependency Injection (Swinject)

EvsenevDev opened this issue · 2 comments

Hi @ferranabello
I'm going to start new project with Viperit and Swinject for DI.
What about DI usage in Viperit? For example i want to inject Services and Providers to Interactor. How i can do that? I think good idea is send DI Container to .build function. What do you think?

Sure @EvsenevDev, it makes sense.

If you want, you could attach here a snippet of your code on what you are trying to achieve and I will give you my opinion.

Thanks for using Viperit :)

Closing this issue due to inactivity,
feel free to reopen it if necessary @EvsenevDev

Cheers.