apollo-upload-network-interface icon indicating copy to clipboard operation
apollo-upload-network-interface copied to clipboard

UploadNetworkInterface for Apollo GraphQL Client

Results 12 apollo-upload-network-interface issues
Sort by recently updated
recently updated
newest added

This module has: ``` "module": "src/index.js", "jsnext:main": "src/index.js", ``` in the package json, but does not include `src` in the module.

We should probably support FileLists nested in variables. It's common to pass an input type rather than scalars for mutation and query params. It seems like a simple bit of...

- Deeply search for File instances in request variables (to fix #5). - Fall back to original `fetchFromRemoteEndpoint` to stay compatible with changes from [apollo-client](https://github.com/apollographql/apollo-client).

My transpiler is having trouble importing `'apollo-client/transport/networkInterface'`: ``` Error: Parsing file node_modules/apollo-client/transport/networkInterface.js: 'import' and 'export' may only appear at the top level (10:0) ``` I created a [PR](https://github.com/HriBB/apollo-upload-network-interface/pull/13).

When importing from `'apollo-client/transport/networkInterface'`, the transpiler gives the error: ``` Error: Parsing file node_modules/apollo-client/transport/networkInterface.js: 'import' and 'export' may only appear at the top level (10:0) ``` Which is fixed when...

Basically, allow for mutations instead of just like this: ``` updateAvatar(userId: String!, file: [UploadedFile!]!): Avatar ``` Also like this: ``` updateAvatar(userId: String!, file: UploadedFile!): Avatar ``` - Clearer semantics. -...

Very pleased with this package. Glad I won't need to roll my own solution haha. I was wondering if we could expose a higher-order function to decorate an existing network...

As @guilhermedecampo said, this does not work with RN, because it relies on `FileList` check, which is not available on RN. >You guys have a suggestion to make it easy/seamless...

@sandervanhooft @thebigredgeek if you want, I can give you admin access to all repositories for apollo file upload. You guys are very active and I am really busy ATM, so...