Join Slack
Powered by
<@U3NEWEUJY> you may define all fake datasources i...
# koin
k
kzotin
03/10/2020, 1:22 PM
@vitovalov
you may define all fake datasources in separate module
val fakeModule = module(override=true) {...}
and load it dymanically. But then you would need
factory
repositories instead of a singleton. Or You could restart koin with building appriate graph on fake/real switch
Open in Slack
Previous
Next