Skip to content

Add support for the from option in readFragment, writeFragment, and updateFragment#13038

Merged
jerelmiller merged 24 commits intorelease-4.1from
jerel/cache-from
Dec 3, 2025
Merged

Add support for the from option in readFragment, writeFragment, and updateFragment#13038
jerelmiller merged 24 commits intorelease-4.1from
jerel/cache-from

Conversation

@jerelmiller
Copy link
Copy Markdown
Member

No description provided.

@jerelmiller jerelmiller requested a review from phryneas December 2, 2025 19:21
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 2, 2025

🦋 Changeset detected

Latest commit: 7a7c65d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 2, 2025

npm i https://pkg.pr.new/apollographql/apollo-client/@apollo/client@13038

commit: 7a7c65d

* Acceptable values provided to the `from` option for `watchFragment`.
* Acceptable values provided to the `from` option.
*/
export type WatchFragmentFromValue<TData> =
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WatchFragmentFromValue is a new type in 4.1 so it's safe to change this.

@apollo-librarian
Copy link
Copy Markdown

apollo-librarian bot commented Dec 2, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 2 changed, 0 removed
* (developer-tools)/react/(latest)/data/fragments.mdx
* (developer-tools)/react/(latest)/data/mutations.mdx

Build ID: 3213bf48fba7539aa06f0344
Build Logs: View logs

URL: https://www.apollographql.com/docs/deploy-preview/3213bf48fba7539aa06f0344

@jerelmiller jerelmiller merged commit 109efe7 into release-4.1 Dec 3, 2025
43 checks passed
@jerelmiller jerelmiller deleted the jerel/cache-from branch December 3, 2025 01:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant