Is there a way with lacinia-pedestal
to handle multipart/form-data
uploads? Iād like to do a file upload together with a GraphQL mutation. Although not the best solution to the problem (scaling, load, ā¦) it would be fine in my case. As an alternative I could go with a signed upload URL approach which might be a little more complicated. Has anyone done something similar with lacinia-pedestal
and is willing to share her experience? Thanks in advace!
In the past I have seen a mutation to get an upload token, and then the file is uploaded to a rest endpoint using the token
We have an internal lib that implements the graphql upload spec
Works pretty nicely!
@lennart.buit Any chance you might open source that internal lib?
Yeah, thats the plan ^^! It may take a bit tho, because its not the topmost priority
How about just a non-functional gist to start with? š