0
There’s nothing related to file upload in the examples under https://github.com/ExpediaGroup/graphql-kotlin/tree/master/examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/server/spring.
I’d like to upload 5 files at once and although I think it should be a mutation I’m not sure whether it should go like this:
class UploadMutation: Mutation {
fun upload(files: FilePart) {
print("$files")
}
}
The context is obviously Spring Boot with Kotlin and WebFlux.
1
2 Answers
Reset to default
0
According to the developers they don’t support Apollo-like file uploads at all.
1
-
File uploads can be built using our library and spring boot, but they are not included out of the box. You will have to configure the response parser yourself github.com/ExpediaGroup/graphql-kotlin/discussions/1037
– daYooperMay 11, 2021 at 15:22
0
File uploads can be built using our library and spring boot, but they are not included out of the box. You will have to configure the response parser yourself
https://github.com/ExpediaGroup/graphql-kotlin/discussions/1037
Not the answer you're looking for? Browse other questions tagged
or ask your own question.
or ask your own question.
obviously you should start with github.com/jaydenseric/graphql-multipart-request-spec
Feb 5, 2021 at 13:42
|