https://kotlinlang.org logo
#ktor
Title
# ktor
r

Rohde Fischer

03/21/2021, 7:43 PM
well another annoying question from me 🙂 (Thanks for being so patient with me) so I have an incoming multipart request, the multipart is a true multipart, so with both `PartData.FormItem`s and
PartData.FileItem
s 🙂 now the big bad boy, because the `FormItem`s are json that needs to mapped to the DTOs, normally I'd do
call.receive<FooDto>()
and then take it from there, but there's no apparent equivalent logic on the
FormItem
that I can find. What is the best approach for this, so I don't have to re-implement part/all of the receive logic?
c

cy

03/22/2021, 6:29 AM
We don't have solution for this yet. Could you please file a ticket describing your use-case
r

Rohde Fischer

03/22/2021, 10:12 AM
will do, thanks 🙂