Skip to content

Conversation

@bas0N
Copy link

@bas0N bas0N commented Dec 12, 2025

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, and onWatchUpdated
  • API Reference (docs/source/api/cache/InMemoryCache.mdx) - Full API docs with options table and signature

@bas0N bas0N requested a review from a team as a code owner December 12, 2025 00:06
@apollo-cla
Copy link

@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/

@changeset-bot
Copy link

changeset-bot bot commented Dec 12, 2025

⚠️ No Changeset found

Latest commit: c1f3997

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

documentation for cache.batch? is this fine to use?

2 participants