Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ktor DI / Ktor 2.0 refactoring #410

Closed
mikedawson opened this issue Apr 14, 2022 · 3 comments
Closed

Ktor DI / Ktor 2.0 refactoring #410

mikedawson opened this issue Apr 14, 2022 · 3 comments
Assignees

Comments

@mikedawson
Copy link

mikedawson commented Apr 14, 2022

Ktor 2.0 has refactored the class names for Application, ApplicationCall, PipelineContext etc (now found in io.ktor.server) as per their migration guide.

Unfortunately KodeIn 7.11 DI with Ktor 2.0 doesn't compile. Is this something being looked at, or something that needs a pull request?

@romainbsl
Copy link
Member

There is a branch waiting for 2.0 release, already migrated on 2.0 BETA in https://github.com/Kodein-Framework/Kodein-DI/tree/snapshot/ktor-2-beta1, so, just need few adjustments.
Will do ASAP

@romainbsl
Copy link
Member

Hello,
I would like to finish some work (#407) before releasing 8.0.0 (Ktor introduced lot of breaking changes), thus I published a SNAPSHOT version of Ktor 2.0.0 with Kodein-DI.

You can use it with le maven repository https://s01.oss.sonatype.org/content/repositories/snapshots/ under the version 8.0.0-ktor-2-SNAPSHOT.

@mriehl
Copy link

mriehl commented Apr 22, 2022

This is great, thanks a lot @romainbsl !

@romainbsl romainbsl self-assigned this Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants