salomonbrys
06/25/2018, 2:48 PMB : A and C : A.
- If you bind only B then ask for A, it will return the bound B.
- If you bind both B and C, then ask for A, it will throw this exception : https://github.com/Kodein-Framework/Kodein-DI/blob/6fb648b6abc951286ef73efbd38a933635cfdf0d/core/kodein-di-core-common/src/main/kotlin/org/kodein/di/internal/KodeinContainerImpl.kt#L179