Skip to content

Commit

Permalink
docs(resolvers): Fix typo in caching keys example
Browse files Browse the repository at this point in the history
  • Loading branch information
bboure authored Jun 15, 2022
1 parent df5c140 commit 2e2eb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/resolvers.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Query.user:
caching:
ttl: 60
keys:
- '$ctx.arguments.id'
- '$context.arguments.id'
```

You can either pass `true` which will use the global TTL (See the [global caching configuration](caching.md)) and no `keys`.
Expand Down

0 comments on commit 2e2eb34

Please sign in to comment.