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
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
Original file line number Diff line number Diff line change @@ -6,13 +6,6 @@ import org.kodein.di.DI
66import org.kodein.di.bindInstance
77import 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
You can’t perform that action at this time.
0 commit comments