DIKit icon indicating copy to clipboard operation
DIKit copied to clipboard

Runtime module override

Open magyarosibotond opened this issue 3 years ago • 0 comments

I'm trying to cover a use case when the root module needs to be rebuilt due to an API environment change. Once the network client changes, the affected modules should be redefined.

In Koin there's a loadKoinModules that lets the developer replace affected modules after startKoin is called (reset cached data when the user logs out).

Let me know if you had something similar in mind and I'm happy to contribute.

This would also fix #42

magyarosibotond avatar Feb 10 '21 11:02 magyarosibotond