Retrofit question. I have just found than in R8/f...
# squarelibraries
d
Retrofit question. I have just found than in R8/fullmode when I have
Copy code
interface Service {
  suspend fun fetch(): Response
}
and then I call
service.fetch()
and do not use the response, R8 fully strips out Response class from apk, replaces it with Any and Retrofit + kotlin.serialization complain that no converter/serializer for response are found. I tried using Retrofit's proguard rules from github's master, but the error is still there. Does it mean that rules are incomplete? Should I file a bug? I could do a PR, but I'd have to read up on R8/Proguard for this.