Hi, not sure if this a question for this channel o...
# touchlab-tools
r
Hi, not sure if this a question for this channel or Koin but going through the code, I noticed that constructor injection is NOT used and instead by inject and inheriting from KoinComponent. Is there a reason for this? I have always tried to restrict the use of framework classes in my code and in my other (non KMM) projects, Koin was used via constructor injection
r
That’s actually something I’ve been wanting to refactor at some point. We use constructor injection in most places, just not in BreedModel
r
Would you accept a PR?
r
In theory yes, but we've been talking about some other refactors in the viewmodel architecture and there's some chance that would conflict with whatever change you make.
r
OK, let me know if you want any help.