File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ help us with that by defining a DI container that can be retrieve from multiple
81
81
82
82
- Application
83
83
- ApplicationCall
84
- - Routing / Routes
84
+ - Routing / Routes / RoutingContext
85
85
86
86
[source, kotlin]
87
87
.Example: a Ktor Application declaration, installing the `DIPlugin`, and retrieving it from routes
Original file line number Diff line number Diff line change @@ -6,13 +6,6 @@ import org.kodein.di.DI
6
6
import org.kodein.di.bindInstance
7
7
import org.kodein.di.ktor.DIPlugin.Plugin
8
8
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
-
16
9
/* *
17
10
* Ktor [Plugin] that provide a global [DI] container
18
11
* that would be accessible from everywhere in the Ktor application
You can’t perform that action at this time.
0 commit comments