Hey guys! I face a problem with creation of eager instances by passing createdAtStart as true in a definition. As I noticed it calls only when startKoin invokes. But I also use loadKoinModules method and in that case creation of instances doesn't happen. As a workaround I'm trying to call
after call loadKoinModules(). Looks like it works, but I'm not sure for 100%. Is it an expected behavior or it is a bug?
a
arnaud.giuliani
09/04/2023, 1:08 PM
yes, it's a real good question. regular question comes around running or not eager instances. A good solution can be to provide a bollean for this, instead of calling it on your own
m
Merseyside
09/04/2023, 1:18 PM
Yeah, I hope u will solve it and usage will be more convenient :)