Hello all :wave: just to share that we start worki...
# koin
a
Hello all 👋 just to share that we start working on Kotlin Compiler for Koin, and you can follow the work here: https://github.com/InsertKoinIO/koin/issues/2333 Stay tuned 👍
🔥 16
m
Very happy to see this, I have a question, is the koin compiler plugin able to throw an error at compile time for something like this (assume MyRepository is not provided)
Copy code
get<MyRepository>()
I think it might be possible if it makes the whole dependency graph in the FIR/IR?
a
yes, compile safety is coming 😉
🤩 4
p
Is this direction similar to what metro is doing?
g
I guess so, Metro is also a Kotlin Compiler Plugin
a
Looks nice 👍, great job
a
Is this direction similar to what metro is doing?
We keep Koin fun & easy DI + All capacity of Kotlin Compiler analyses/code generation. We won't generate factory, it's already part of Koin.
then globally, less to generate than others solutions
g
Can't wait! 😄