We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd6380 commit 26b790aCopy full SHA for 26b790a
README.md
@@ -18,7 +18,7 @@ $ npm install graphql-resolver-cache --save
18
19
Add a cache to your Graphql middleware:
20
21
-```
+```js
22
import express from 'express';
23
import bodyParser from 'body-parser';
24
import { graphqlExpress } from 'apollo-server-express';
@@ -41,7 +41,7 @@ app.listen(PORT);
41
42
Wrap your resolver in a cache function:
43
44
45
import { withCache } from 'graphql-resolver-cache';
46
export default {
47
User: {
0 commit comments