Damiano Giusti
03/28/2023, 9:26 AMLoggedUserScope
, so that I can provide fresh instances of certain classes at each login. I identified the classes that are used after the login and the ones that are used before the login. 90% of them are used after the login.
I have a couple of questions:
1. does this mean that I need to change all the single
declarations to be scoped
in the LoggedUserScope
?
2. how can I verify that the dependencies resolution is working correctly? I’m using the checkModules
test method but I think I need to provide the LoggedUserScope
somehow
Thanks to everyone that will help!!arnaud.giuliani
03/31/2023, 12:58 PMscoped
definitions instead of single
, and put it in a scope
blockarnaud.giuliani
03/31/2023, 12:58 PMDamiano Giusti
03/31/2023, 2:27 PMstopKoin
and then restart?arnaud.giuliani
03/31/2023, 2:33 PMunloadKoinModules
if you have a main module with `included`sub modulesDamiano Giusti
03/31/2023, 2:34 PMarnaud.giuliani
03/31/2023, 3:51 PM