Skip to content

Commit 581aa45

Browse files
authored
batch-resolve ==> resolve-batch
1 parent fd3fed3 commit 581aa45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A method for batching the resoluition of GraphQL fields as an alternative to [`d
66

77
```js
88
import { GraphQLObjectType, GraphQLString } from 'graphql';
9-
import { createBatchResolver } from 'graphql-batch-resolve';
9+
import { createBatchResolver } from 'graphql-resolve-batch';
1010

1111
const UserType = new GraphQLObjectType({
1212
// ...
@@ -29,10 +29,10 @@ const QueryType = new GraphQLObjectType({
2929

3030
## Installation
3131

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.
3333

3434
```
35-
npm install --save graphql graphql-batch-resolve
35+
npm install --save graphql graphql-resolve-batch
3636
```
3737

3838
[`graphql`]: https://github.com/graphql/graphql-js

0 commit comments

Comments
 (0)