elect
02/15/2024, 8:45 AMrouting { post("..") { call.receiveText()
some text which I'd like to translate into a class
I can see call.receive<T>: T
, but the moment I try it, I get
> No Default Transformations found for class io.ktor.utils.io.ByteBufferChannel and expected type TypeInfo(type=class com.example.BodySchema, reifiedType=class com.example.BodySchema, kotlinType=com.example.BodySchema) for call /webhooks/format
How can I define that transformation?Sam
02/15/2024, 8:48 AMelect
02/15/2024, 8:51 AM