<@U0BLRBFMM> was gonna update to Kodein 4.x for my...
# kodein
a
@salomonbrys was gonna update to Kodein 4.x for my dependent libraries, but some breaking changes are there: https://github.com/SalomonBrys/Kodein/issues/113
s
Hey Jayson !
Have you tried
bind.type.jvmType
?
a
let me check that out
@salomonbrys it is not available as a member
s
It's an extension
let me check
a
TokenType
interface does not expose it
next issue is:
Copy code
typed.bind(_bind.type, _bind.tag, overrides) with CInstance<Any>(_bind.type, value)
typed is no longer a subset, so you moved it somewhere. I'll go see where. And the internal structure
CInstance
is probably refactrored away
s
Well, the
jvmType
extension property is in Kodein 5, sorry
Once Kodein 5 will be out (in a week tops), I'll patch Kodein 4 😉
a
uff 😄
I have some other typing issues, but I'll revert to 3.4.1 until 5 comes out
CInstance
becomes
InstanceBinding
I think
the
typed
stuff moved to?
When you add the
<T>
to Bind, it causes some conflict because I have a type that can never seem to satisfy it unless it is
<out T>
not sure why yet, trying to resolve that, but will try with a beta of 5. is a beta out there now?