-
-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Hello all 👋
I'm pleased to share a new upcoming part in Koin project: Koin Kotlin Compiler Plugin!
A Kotlin Compiler Plugin for Koin with automatic constructor injection. Write single<MyService>() instead of singleOf(::MyService) or single { MyService(get(), get()) } — the plugin handles the wiring at compile-time.
A native Kotlin Compiler Plugin that replaces the KSP compiler in Koin Annotations. Use @Singleton/@factory annotations (and others) — all resolved at compile-time by the Kotlin compiler, no KSP required.
Note: this note will be updated to keep you posted with the latest info, and let you help us test the latest Koin Plugin version 👍
Koin DSL & Annotations will get updates, thanks to the new plugin.
Here is an overview of what's coming 👇
Follow-up all about the Koin plugin: InsertKoinIO/koin#2333