Join Slack
Powered by
Is there a recommended way of injecting dependenci...
# koin
l
Laurent Thiebaud
11/12/2025, 9:43 AM
Is there a recommended way of injecting dependencies for a backend application, between
by inject()
or annotations?
a
arnaud.giuliani
11/12/2025, 10:26 AM
It's even a general rule of usage for Koin. Use constructor injection.
by inject
is only needed in place where you need to retrieve things, like in Ktor Routes or Android Activity
Open in Slack
Previous
Next