TO ALL: I've just pushed Kodein `3.0.0-beta4` to M...
# kodein
s
TO ALL: I've just pushed Kodein
3.0.0-beta4
to Maven Central. This is the same as beta3 but with a change in the binding-with-type API. This introduces the same separation of API in
Kodein.Builder
than in
Kodein
. In a
Kodein.Builder
, to bind with a
Type
, a
TypeToken
or a
Class
, you need to access the property
typed
. Also, there is now a
container
property that allows you to bind directly a
Kodein.Key
.
Copy code
val kodein = Kodein {
    typed.bind(type) with ...
    container.bind(key) with ...
}