https://kotlinlang.org logo
#kodein
Title
j

james

01/06/2020, 1:07 AM
will Kodein ever have compile time dependency validation (like dagger)? is that even possible with this style of DI, since it's not all generated classes?
r

romainbsl

01/06/2020, 7:25 AM
Hi. Compile time checks need to use reflection. Kodein Framework is meant to work on Kotlin/Multiplatform projects. That been said, Kotlin/Native doesn’t provide (yet) a nice way to do reflection, thus we were not able to enable this feature.
However, there is a new kid in town. Compiler Plugins are almost their, and their power could help us doing it and much more. Let see what the future has to offer for Kotlin, but be sure we will continue to improve Kodein to be more and more developer friendly :)
👍 2
👌 1
j

james

01/07/2020, 12:44 AM
thanks for that, Romain
9 Views