apollo-link-upload
This package can be used to perform file uploads. It is compatible with Absinthe and GraphQL::Extras.
Features
- Written in TypeScript.
- Simple server-side implementation.
- Support for
FileList
and multiple file uploads. - Supports React Native.
Supported Backends
Usage
;; const client = link: ;
React Native
Values submitted in React Native will only be recognized as a file if it is an instance of ReactNativeFile
.
; const file = uri: "something" name: "a.jpg" type: "image/jpeg";
Similar Packages
Contributing
To install dependencies:
$ yarn install
To run the test suite:
$ yarn test