Closed baleeds closed 5 years ago
Hey. Thanks for the issue and PR. I merged it. Unfortunately, I am in vacation and my laptop is broken, so I will publish the library to NPM as soon as I repair my laptop
Thanks for the fix, just discoverted this today :)
In trying to add progress bars to file uploads, I was led to this comment, where a solution is proposed that uses a fetch wrapper for xhr to provide hooks for progress events.
These hooks fire an event that is added to the fetch options, called
onUploadProgress
.The problem is that in apollo-absinthe-upload-link, the context.fetchOptions from a mutation are not being added to the fetch.