Hello! I am using Ktor framework to build a web app and I am playing around with the built-in jackson content negotiation, I have data classes that I must respond back to the client side using call.respond(status = HttpStatusCode.OK) {return@respond patientList} where patientList is a list<JSONPatient> and JSONPatient is a data class that has nested data classes but it is all primitive types.I keep getting this error message and i can't figure out why.
ERROR Application - 307:reportUnresolvedClass - This class is an internal synthetic class generated by the Kotlin compiler, such as an anonymous class for a lambda, a SAM wrapper, a callable reference, etc. It's not a Kotlin class or interface, so the reflection library has no idea what declarations does it have. Please use Java reflection to inspect this class: class com.wallscope.casebook.api.routes.patients.PatientsKt$patients$1$1$2