Skip to content

Commit 17c316d

Browse files
committed
ktor: update docs and cleanup
1 parent 0988062 commit 17c316d

File tree

2 files changed

+1
-8
lines changed
  • doc/modules/framework/pages
  • framework/ktor/kodein-di-framework-ktor-server-jvm/src/main/kotlin/org/kodein/di/ktor

2 files changed

+1
-8
lines changed

doc/modules/framework/pages/ktor.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ help us with that by defining a DI container that can be retrieve from multiple
8181

8282
- Application
8383
- ApplicationCall
84-
- Routing / Routes
84+
- Routing / Routes / RoutingContext
8585

8686
[source, kotlin]
8787
.Example: a Ktor Application declaration, installing the `DIPlugin`, and retrieving it from routes

framework/ktor/kodein-di-framework-ktor-server-jvm/src/main/kotlin/org/kodein/di/ktor/plugin.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ import org.kodein.di.DI
66
import org.kodein.di.bindInstance
77
import org.kodein.di.ktor.DIPlugin.Plugin
88

9-
@Deprecated(
10-
"This is deprecated since Ktor 2+ has renamed the concept",
11-
ReplaceWith("DIPlugin"),
12-
DeprecationLevel.ERROR
13-
)
14-
public typealias DIFeature = DIPlugin
15-
169
/**
1710
* Ktor [Plugin] that provide a global [DI] container
1811
* that would be accessible from everywhere in the Ktor application

0 commit comments

Comments
 (0)