Upload
interface Upload
Content copied to clipboard
A class that represents a file upload in a multipart upload See https://github.com/jaydenseric/graphql-multipart-request-spec
Use this to map your upload custom scalar and the apollo runtime will be able to extract them and send them out of band.
customScalarsMapping.set(mapOf( "Upload" to "com.apollographql.apollo3.api.Upload" ))
If you have a JVM File at hand, see also com.apollographql.apollo3.api.DefaultUpload.Builder.content
Functions
Properties
Inheritors
DefaultUpload
Link copied to clipboard