Cristián Arenas
01/28/2020, 11:41 PMwithTimeout
function, but all hell broke loose. 😅Cristián Arenas
01/28/2020, 11:46 PMkotlinx.serialization.SerializationException: Can't locate argument-less serializer for class kotlinx.coroutines.CoroutineScope
rocketraman
01/29/2020, 5:21 AMCristián Arenas
01/29/2020, 2:30 PMwithTimeout
and you’re using the “JsonFeature” on your client:
val client = HttpClient(clientEngine) {
install(JsonFeature) {
serializer = KotlinxSerializer(Json)
}
}
client.request(someHttpRequestBuilder) // exception, someone tried to serialize the coroutine itself
I’ll try to make a minimal project reproducing this problem and create a new issue