Skip to content

Latest commit

 

History

History

graphql-kotlin-spring-webflux-upload

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

GraphQL Kotlin Upload

GraphQL Multipart Request Spec implementation of GraphQL Kotlin.

Getting Started

Gradle

repositories {
    maven("https://github.com/wickedev/graphql-jetpack/raw/deploy/maven-repo")
}

dependencies {
    implementation("io.github.wickedev:graphql-jetpack-starter:0.5.6")
}

Example

class Upload(filePart: FilePart) : FilePart by filePart

@Compoment
class SampleMutation : Mutation {
    fun uploads(files: List<Upload>): String = "${files.map { it.filename() }} Upload Successfully"

    fun upload(file: Upload): String = "${file.filename()} Upload Successfully"
}