getting postA works fine, getting postB gives `jav...
# ktor
l
getting postA works fine, getting postB gives
java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class Post
. It seems T is getting erased despite being reified. why is that ?
👀 1
r
postB : return a List<Posts>
l
that's not the point here.
s
l
yep, that seems to be it. ty