arnaud.giuliani
03/01/2022, 8:38 AMkenkyee
03/01/2022, 3:15 PMarnaud.giuliani
03/01/2022, 3:19 PM@Singleton
available. Itâs just to keep the same âsemanticâRĂłbert Nagy
03/28/2022, 7:42 AMImproving Developer Experience đ
One capacity that opens this annotations approach, is the possibility to analyze everything at compilation and prepare more content for youDo you have an issue/plan/roadmap for the above?
RĂłbert Nagy
03/28/2022, 7:57 AMstartKoin{ }
has to be changed, but theoretically having something like
@KoinStarter(includes = myModules)
fun initKoin()
could work? Where the compiler just checks that the myModules
graph is complete? (all dependencies have bean definitions)
Though probably having arguments/lambdas complicates maintaining the nice modular structure of Koin, possible solutions:
⢠Keep verification at the end consumer (base/app
module, like Dagger đ )
⢠Have something like @Transient
where these dependencies could be ignored?
Maybe having a thread for a possible API design would be nicearnaud.giuliani
03/30/2022, 9:41 AMarnaud.giuliani
03/30/2022, 9:42 AMarnaud.giuliani
03/30/2022, 9:42 AM