Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata if response came from cache #371

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

smyrick
Copy link
Member

@smyrick smyrick commented Nov 4, 2024

This should be the only place we need to add responseFromCache: true as all other places do re-update and store new cache entries.

Still missing test but sharing for early review

Copy link

codesandbox-ci bot commented Nov 4, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@tninesling
Copy link
Contributor

@smyrick Looks good. Would you be able to fix the prettier check and add a changeset?

@smyrick smyrick marked this pull request as ready for review November 18, 2024 05:29
@smyrick smyrick requested a review from a team as a code owner November 18, 2024 05:29
@smyrick
Copy link
Member Author

smyrick commented Nov 18, 2024

@tninesling Updated!

@tninesling tninesling merged commit cf3adb7 into apollographql:main Nov 19, 2024
10 of 11 checks passed
@github-actions github-actions bot mentioned this pull request Nov 19, 2024
@smyrick smyrick deleted the returned-from-cache branch November 20, 2024 19:29
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.

2 participants