smallrye / smallrye-graphql

Implementation for MicroProfile GraphQL
Apache License 2.0
159 stars 91 forks source link

Multipart Spec #885

Open phillip-kruger opened 3 years ago

phillip-kruger commented 3 years ago

Look at https://github.com/jaydenseric/graphql-multipart-request-spec

treo commented 1 year ago

I'm very interested in having this.

We've got an application that heavily focuses on file uploads, and we'd like to add a GraphQL endpoint for it. However, encoding files in base64, parsing that out of the transmitted JSON and base64 decoding them seems like a waste of resources.

If I can get a pointer where to start to add that support, I'd also be interested in implementing it myself.

murphye commented 1 year ago

For what it's worth Vert.x GraphQL supports file uploads: https://vertx.io/docs/vertx-web-graphql/java/