Dependency Injection (Swinject)
EvsenevDev opened this issue · 2 comments
EvsenevDev commented
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?
ferranabello commented
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 :)
ferranabello commented
Closing this issue due to inactivity,
feel free to reopen it if necessary @EvsenevDev
Cheers.