Mario Andhika
08/16/2024, 3:08 AMvalidate<MultiPartData> { request ->
// perform validation
}
If I do this, then all MultiPartData will be validated in the same way.
I’m looking for something like:
call.receiveMultipart<MyCustomMultiPartData>()
I tried implementing the MultiPartData interface, but not sure how to implement the readPart() method. Also call.receive<MyCustomMultiPartData>()
will not receive as multipartAleksei Tirman [JB]
08/16/2024, 7:46 AMRequestValidation
plugin. You can manually validate the parts while reading them up.