Hello again, my project, supposed to run on Node.J...
# javascript
j
Hello again, my project, supposed to run on Node.JS, depends on ktor-client which is only available with the IR backend and CliKt which is only available with the legacy backend Is there any hope?
e
I think your best hope is to try to get clikt to move to IR. It looks like you've already opened a PR for that, but some of CliKt's dependencies are also legacy. Your best bet here (besides not using CliKt) is to go through all the dependencies recursively and try to get them to publish an IR version. However, since it's likely that some deps will be abandoned and won't release an IR version, you should also be ready to fork/replace any dep which doesn't upgrade to IR, and work with CliKt maintainers to work around deps that don't release IR versions. So there is hope, but it's not gonna be easy.
Although, I think ktor publishes both legacy and IR, so you should be able to keep using legacy for now. https://github.com/ktorio/ktor/blob/main/gradle.properties#L74
but IR is the future, and it will take a while for all libraries to switch over, so even if you stick with legacy for now you should probably also start trying to get all your dependencies to upgrade
j
thanks a lot Ethan!