i could do a `expect fun serializerOf(typeInfo: Ty...
# ktor
n
i could do a
expect fun serializerOf(typeInfo: TypeInfo): KSerializer<Any>
to move al lthe jvm specific cruft away.. but i am not sure if that would be considered a good idea
s
n
yep, wish i had found this earlier
this definitly cleans up the code and supports way more than i thought about 😄
i think serializerByTypeToken has to be tested, did not work on my tests whereas my own implementation from before worked for Sets and Lists
s
Could you submit an issue or PR with sample tests, please?
n
writing a PR right now.. not sure about the tests though.. i assume those would fall under ResolvingTest