Skip to content

Commit 12247fc

Browse files
authored
Update README to make more clear the usage of createUploadLink
#89 (comment)
1 parent 4d0c29a commit 12247fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ npm install apollo-upload-client
1616

1717
If you use [Apollo Boost](https://npm.im/apollo-boost), [migrate to a manual Apollo Client setup](https://apollographql.com/docs/react/advanced/boost-migration).
1818

19-
Initialize [Apollo Client](https://apollographql.com/docs/link#apollo-client) with a terminating [Apollo Link](https://apollographql.com/docs/link) using [`createUploadLink`](#function-createuploadlink).
19+
Initialize [Apollo Client](https://apollographql.com/docs/link#apollo-client) with a terminating* [Apollo Link](https://apollographql.com/docs/link) using [`createUploadLink`](#function-createuploadlink).
20+
21+
*The **createUploadLink** replaces the terminating **HTTPLink** in the ApolloClient. [issue](https://github.com/jaydenseric/apollo-upload-client/issues/89#issuecomment-384923295)
2022

2123
Also ensure the GraphQL server implements the [GraphQL multipart request spec](https://github.com/jaydenseric/graphql-multipart-request-spec) and that uploads are handled correctly in resolvers.
2224

0 commit comments

Comments
 (0)