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

(core) - Fix stale on reexecute being skipped for cache-first #1755

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

kitten
Copy link
Member

@kitten kitten commented Jun 30, 2021

Resolve #1754

Summary

This fixes an accidental change from v2.1.0 onwards that prevented stale: true from being added onto reexecuting operations when those were using cache-first. We reverted this to instead always update the stale flag except for cache-only as it was before.

@kitten kitten requested a review from JoviDeCroock June 30, 2021 15:13
@changeset-bot
Copy link

changeset-bot bot commented Jun 30, 2021

🦋 Changeset detected

Latest commit: 706c52b

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

This PR includes changesets to release 1 package
Name Type
@urql/core Patch

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

@kitten kitten merged commit c9cfa58 into main Jun 30, 2021
@kitten kitten deleted the fix/stale-on-reexecute branch June 30, 2021 16:00
@urql-ci urql-ci mentioned this pull request Jun 30, 2021
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.

(core) - Stale isn't true for refetch when using cache.invalidate in Graphcache
2 participants