apollo-upload-client
apollo-upload-client copied to clipboard
A terminating Apollo Link for Apollo Client that fetches a GraphQL multipart request if the GraphQL variables contain files (by default FileList, File, or Blob instances), or else fetches a regular Gr...
Fixed: https://github.com/jaydenseric/apollo-upload-client/issues/273, https://github.com/jaydenseric/apollo-upload-client/issues/275
Due to the move to ESM this package has become incompatible with Next.js. Next.js recommends setting up projects with TypeScript. However the TypeScript configuration required by this package if incompatible...
Would love to hear your thoughts on writing this project in js (with types as comments) rather than ts. Is it to simplify the publishing pipeline or is there something...
So this isn't your fault but ChilliCreams, but someone over there thought this was a good idea: > Note 2: HTTP Header GraphQL-preflight: 1 is required since version 13.2 due...
`@apollo/client` supports `@defer` directive since version 3.7.0: https://www.apollographql.com/docs/react/data/defer/ But I'm not able to use this library with `@defer`. It throws a JSON parsing error on [this line](https://github.com/jaydenseric/apollo-upload-client/blob/master/createUploadLink.mjs#L236). Are there plans...
Please document that the lib part of tsconfig,json must include "DOM.Iterable" it is required for extract-files and causes strange errors
Is there interest in a PR improving the README especially documenting the parameters of your project, how to set it up and the 18 upgrade? Note: I am not a...
Hello, when you create a upload link, you can only set the headers once. This is a problem when you refresh your authentication token. Apollo allows to pass a function...
## Issue description This option is present in [createHttpLink](https://github.com/apollographql/apollo-client/blob/main/src/link/http/createHttpLink.ts#L40), but missing in `createUploadLink` Reason why this option was added is explained here: https://github.com/apollographql/apollo-client/pull/7127 ## What changes have been made? -...
So I have followed on what is recommended [here](https://github.com/jaydenseric/apollo-upload-client/issues/88) on how to track progress on file upload. On apollo-client v3, it looks like `xhr.upload.onprogress` is not really working as expected....