File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ A method for batching the resoluition of GraphQL fields as an alternative to [`d
6
6
7
7
``` js
8
8
import { GraphQLObjectType , GraphQLString } from ' graphql' ;
9
- import { createBatchResolver } from ' graphql-batch- resolve' ;
9
+ import { createBatchResolver } from ' graphql-resolve-batch ' ;
10
10
11
11
const UserType = new GraphQLObjectType ({
12
12
// ...
@@ -29,10 +29,10 @@ const QueryType = new GraphQLObjectType({
29
29
30
30
## Installation
31
31
32
- ` graphql-batch- resolve ` has a peer dependency on ` graphql ` , so make sure you have installed that package as well.
32
+ ` graphql-resolve-batch ` has a peer dependency on ` graphql ` , so make sure you have installed that package as well.
33
33
34
34
```
35
- npm install --save graphql graphql-batch- resolve
35
+ npm install --save graphql graphql-resolve-batch
36
36
```
37
37
38
38
[ `graphql` ] : https://github.com/graphql/graphql-js
You can’t perform that action at this time.
0 commit comments