Laurent Thiebaud
04/11/2025, 10:20 AMclass MyService(config: MyConfig) :
BaseService(config)
I'd prefer to inject the config, aka something like
val config by inject<MyConfig>()
Currently I have to instanciate MyService with
single {MyService(get())}
=> here I'd like to avoid the get()
Robert Jaros
04/11/2025, 12:02 PMLaurent Thiebaud
04/11/2025, 12:40 PM