FSharp.Data.GraphQL
FSharp.Data.GraphQL copied to clipboard
File Upload
Hi, Any tips on how to handle the file upload?
I don't think our library exposes any interface to help with file upload operations, so I think that we could, maybe, implement some common adopted specification to handle file uploads in the future. This one seems promising to me:
GraphQL Multipart Request Spec How to manage file uploads in GraphQL mutations using Apollo/Graphene
Ok, I'm going to try provide a PR based on this implementation.
@Rajivhost how is it going? I can give help with the implementation if you want to.
I remember writing this a few months ago. It was before the middleware system came into place, but I'm sure adapting it wouldn't be too difficult.
Hi @ivelten, yes some help is welcome.
@TOTBWF can we have a view of what you made?
Sadly, that code was commercial, so no :frowning_face:.
@Rajivhost I created a draft pull request for this here. Please, take a look and see what you think.