Skip to content

Commit a044f88

Browse files
committed
add reference to examples near the bottom of the readme
1 parent f374125 commit a044f88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ To batch together calls to this function by field, `graphql-resolve-batch` defer
175175

176176
The implementation is very similar to the `dataloader` implementation. Except `graphql-resolve-batch` takes a more opionated approach to how batching should be implemented in GraphQL whereas `dataloader` is less opionated in how it batches executions together.
177177

178+
To see how to optimize the above query with a batch resolver, be sure to check out the [**`./examples` directory**][].
179+
180+
[**`./examples` directory**]: https://github.com/calebmer/graphql-resolve-batch/tree/master/examples
181+
178182
## When do I use `dataloader` and when do I use `graphql-resolve-batch`?
179183

180184
If you answer yes to any of these questions:

0 commit comments

Comments
 (0)