You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update example of ApolloServerPluginCacheControl's cacheControl (#7848)
## Background / Context
Fixes#7845
## Goals
- Ensure documentation of accessing the extended `cacheControl`
information on GraphQL's info object does not contain any TypeScript
errors
## Changes
- Added import statements to the code examples for `import {
cacheControlFromInfo } from '@apollo/cache-control-types'`
- Leverage `cacheControlFromInfo` in code examples
- Updated description of what provides `info.cacheControl` to reference
the documentation for the cache control plugin
0 commit comments