You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
By having this feature more definitions can be migrated to Koin Annotations.
Describe the solution you'd like
@Single
class LoggerInMemoryDataSource : LoggerDataSource
@Single
class LoggerInDatabase: LoggerDataSource
@Single
class LoggerAggregator(val lazyLoggers : Lazy<List<LoggerDataSource>>)
Alternatively, a List<Lazy<LoggerDataSource>> would also be beneficial, as it would even allow to query the list length without instantiating any dependencies.
When using Koin Annotations, support also the lazy injection of a list of dependencies, besides the lazy injection of a dependency.
Is your feature request related to a problem? Please describe.
By having this feature more definitions can be migrated to Koin Annotations.
Describe the solution you'd like
To generate the following DSL:
Describe alternatives you've considered
Using the
single { }
DSLTarget Koin project
My assumption is that the fitting places would be
koin-core
andkoin-annotations
/koin-ksp-compiler
.The text was updated successfully, but these errors were encountered: