Skip to content

Commit

Permalink
Revert "Update apollo-link-schema.md (#6622)"
Browse files Browse the repository at this point in the history
This reverts commit 218a2b4,
now that #6621 has been fixed by #6624.
  • Loading branch information
benjamn committed Jul 16, 2020
1 parent 0d9250e commit 7d15208
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/api/link/apollo-link-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The schema link provides a [graphql execution environment](http://graphql.org/gr
## Installation

`npm install @apollo/link-schema --save`
`npm install @apollo/client --save`

## Usage

Expand All @@ -21,7 +21,7 @@ When performing SSR _on the same server_, you can use this library to avoid maki

```js
import { ApolloClient, InMemoryCache } from '@apollo/client';
import { SchemaLink } from '@apollo/link-schema';
import { SchemaLink } from '@apollo/client/link/schema';

import schema from './path/to/your/schema';

Expand All @@ -38,7 +38,7 @@ For more detailed information about mocking, refer to the [graphql-tools documen

```js
import { ApolloClient, InMemoryCache } from '@apollo/client';
import { SchemaLink } from '@apollo/link-schema';
import { SchemaLink } from '@apollo/client/link/schema';
import { makeExecutableSchema, addMockFunctionsToSchema } from 'graphql-tools';

const typeDefs = `
Expand Down

0 comments on commit 7d15208

Please sign in to comment.