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 3 compatibility #454

Open
stashymane opened this issue Apr 24, 2024 · 2 comments
Open

Ktor 3 compatibility #454

stashymane opened this issue Apr 24, 2024 · 2 comments

Comments

@stashymane
Copy link

I have attempted to port Kodein to Ktor 3 myself, as only two changes were required, however one test is failing: https://github.com/stashymane/Kodein/commit/89a4d60fd72ecd24d4e0cd5c2caad05660559413

image

It seems that the call pipeline is being skipped for some reason. Otherwise the update is rather simple.
Here's the run for details: https://github.com/stashymane/Kodein/actions/runs/8818984587/job/24209096046

@ssmtlbn
Copy link

ssmtlbn commented Oct 17, 2024

Since Ktor 3 is now final, is there an update on when or if it will be supported?

@Burtan
Copy link

Burtan commented Oct 26, 2024

I get errors with kodein 7.22.0 and ktor 3.0.0

Found interface io.ktor.server.routing.Routing, but class was expected
java.lang.IncompatibleClassChangeError: Found interface io.ktor.server.routing.Routing, but class was expected
	at org.kodein.di.ktor.ClosestKt.closestDI$lambda$2(closest.kt:32)

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