Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information