Amazing. I was already a koin fan but this is leap frogging the capabilities of Spring. One concern I have with ksp is getting locked into specific versions of Kotlin and not being able to upgrade when there are new releases of Kotlin. I've experienced this with other ksp based plugins. Basically not a problem if koin updates frequently but as soon as there is any lag with that, you are basically blocked on updating. It's a big reason, I'm avoiding ksp dependencies in most of my projects right now because I don't like being locked into a specific version of kotlin just because of some library I need. Any insight on how this would work with koin? Or whether in general this is something that can be solved?
@jesprotech Жыл бұрын
I’ve had KSP issues in the past as well, but nothing that can’t be sorted out by simply opening a ticket. Luckily the community has always been very helpful to me.
@jesprotech Жыл бұрын
I’m going to try Koin soon. This looks amazing. Very nice way of doing injection. I’ve made my own injections in the past and of course using Spring and Jakarta, so this should be very easy to learn. And it looks to be awesome when thinking of using it in android. On a side note, it looks like the link to the Ktor tutorial on your page isn’t working. I checked it this morning. Great talk any way. Very very informative! Loved it! 👍
@mohammedoucif217 Жыл бұрын
Just a question here : in the example where he used the repository and the presenter, he had to use annotations in both of them. So, in a big project where we have more layers, we will have to put the annotations in all of them. Don't we suppose to avoid that to not make the code tightly coupled with a specific DI library ?
@jesprotech Жыл бұрын
Maybe, but that is probably the same case with Spring. Yet no one questions that and the reason for that is that Spring is now so widely used that this risk doesn’t exist.
@dleonardo32388 ай бұрын
Why can't I use the inject function when using Koin for Desktop?