Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

doc: fix composition doc (useless, obsolete Retry) #555

Merged
merged 4 commits into from
Nov 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@

- Set an error `name` on errors being thrown. <br/>
[@ikhoon](https://github.com/ikhoon) in [#530](https://github.com/apollographql/apollo-link/pull/530)

### Docs

- Replace deprecated `Retry` link references with `RetryLink`. <br/>
[@fredericgermain](https://github.com/fredericgermain) in [#555](https://github.com/apollographql/apollo-link/pull/555)
4 changes: 2 additions & 2 deletions docs/source/composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Apollo Link ships with two ways to compose links. The first is a method called `

```js
import { ApolloLink } from 'apollo-link';
import Retry from 'apollo-link-retry';
import { RetryLink } from 'apollo-link-retry';
import HttpLink from 'apollo-link-http';
import MyAuthLink from '../auth';

const link = ApolloLink.from([
new Retry(),
new RetryLink(),
new MyAuthLink(),
new HttpLink({ uri: '/graphql' })
]);
Expand Down