diff --git a/docs/reference/koin-core/lazy-modules.md b/docs/reference/koin-core/lazy-modules.md index e7e945112..c0c2b0421 100644 --- a/docs/reference/koin-core/lazy-modules.md +++ b/docs/reference/koin-core/lazy-modules.md @@ -63,4 +63,21 @@ koin.runOnKoinStarted { koin -> :::info Default dispatcher for coroutines engine is `Dispatchers.Default` +::: + +### Limitation - Mixing Modules/Lazy Modules + +For now we advise to avoid mixing modules & lazy modules, in the startup. Avoid having `mainModule` requiring dependency in `lazyReporter`. + +```kotlin +startKoin { + androidLogger() + androidContext(this@TestApp) + modules(mainModule) + lazyModules(lazyReporter) +} +``` + +:::warning +For now Koin doesn't check if your module depends on a lazy modules ::: \ No newline at end of file