Hey! Once FIR is released, is it planned to bring ...
# koin
b
Hey! Once FIR is released, is it planned to bring a compiler extension to create a compile time dependency resolution to Koin? I see as a good approach combine Koin DSL with compile time benefits but I don't know if is considered by community. (Also I have plans to build one, then just to know if will be officially considered)
a
It’s hard to bring compile analysis on Koin DSL as everything is dynamic but, new DSL can open some doors
however the Koin annotations can help later make static/compile analysis
but just to give my pov on “compile” analysis … it’s just a matter of feedback : you want to know that your graph is working or not
other tool can help as well, without forcing you to compile/analysis everything
b
Cool! I'm not seeing why would be hard to bring it (except the time it would be invested implementing it) since we would be offered by compiler all its IR, once we have that, we could explore more than simply analysis the graph to see if works or not, we can literally inject its deps in compile time. I have some work to do when FIR releases but when I finish I can bring an example to clarify more this concept.