docs: add documentation for cache.batch method (#12990)
docs: add documentation for cache.batch method
Fixes #12990
Adds comprehensive documentation for the cache.batch method:
-
JSDoc (
src/cache/core/cache.ts) - Added doc block with description, examples, and parameter docs -
Guide (
docs/source/caching/cache-interaction.mdx) - New section covering usage, optimistic updates, andonWatchUpdated -
API Reference (
docs/source/api/cache/InMemoryCache.mdx) - Full API docs with options table and signature
@bas0N: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
⚠️ No Changeset found
Latest commit: d91eab0072036ecdc66a1360f26dec9a9f22e3bd
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Thank you for the contribution, let's get this into the docs! 🎉