or maybe typeinfo actually gets me everything i ne...
# ktor
n
or maybe typeinfo actually gets me everything i need.. i will experiment
d
yeah, I guess that is the way to go
n
this seems to be the typeinfo at runtime :
TypeInfo(type=class kotlin.collections.List, reifiedType=java.util.List<? extends voodoo.data.curse.AddonFile>)
i have no idea how to get the type parameter though
d
on the JVM?
n
yes, i need to test this on native too i guess
anyways , this is what i would be trying to do https://github.com/Kotlin/kotlinx.serialization/issues/179#issuecomment-407061579 when i get back
but generally i am stuck at the problem .. i have a Type List<Something> .. how do i turn that into a KClass<Something> ?