Hi, what is the new compiler plugin for? In my cas...
# koin
l
Hi, what is the new compiler plugin for? In my case in DSL mode, what do I gain from using it?
r
Compile-time safety is probably the thing.
a
for DSL you write less, and in a safer way that let us make compile safety for you.
l
I just see a syntax change in the doc, could you explain how it improves compile safety? fron the doc
dslSafetyChecks Validate that create() calls inside lambdas are the only instruction
but this is not clear to me 🤔 ( or maybe you are talking about this part: "*Compile-Time Safety (Coming Soon)*")
a
the new DSL approach allow safe expressions: `single<T>()`and
single { create(::T) }
Those ways to write code can be check for compile safety
else, it's way harder to provide static analyse on what your are doing
👍 1
e
Just small update - compile safety is not yet implemented
a
yeah, wait next build 👍
👍🏼 1
l
Yep I saw it (btw nice interview in the cast codeurs 👏 , from another toulousain)
❤️ 1