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 GraphQL POST or GET request (depending on the config and GraphQL operation).
Bot releases are hidden (Show)
Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
File
and FileList
are undefined globals in React Native, see comment.Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
null
values in query/mutation variables, fixing #15.Published by jaydenseric over 7 years ago
package-lock.json
.Published by jaydenseric over 7 years ago
extractRequestFiles
with bespoke recursion logic, shaving several KB off the bundle size and fixing #13.Published by jaydenseric over 7 years ago
yarn.lock
and updated install instructions.build:watch
script. Use npm run build -- --watch
directly.Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
PropTypes
. React no longer exports them and they are a distraction anyway.gql
from react-apollo
.Published by jaydenseric over 7 years ago
opts
are not configured, fixing #8.Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
extractRequestFiles
helper no longer converts the query AST to string as a side-effect, fixing #5.Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
babel-runtime
. This should improve IE 11 support.Published by jaydenseric over 7 years ago
apollo-upload-server
v2 and query batching.Accept
header from requests.Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
Published by jaydenseric over 7 years ago
HTTPUploadNetworkInterface
. This enables it to be extended externally.createNetworkInterface
is now a named and not default export.uri
argument for createNetworkInterface
ending up in the request options.apollo-client
imports.Published by jaydenseric over 7 years ago
package.json
description.Published by jaydenseric over 7 years ago
package.json
.