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

fix(graphcache): Fix extra variables regression #3356

Merged
merged 4 commits into from
Aug 15, 2023

Conversation

kitten
Copy link
Member

@kitten kitten commented Aug 15, 2023

Resolves #3355

Summary

Changes in #3317 accidentally removed code that preserved the original operation for optimistic and non-optimistic mutation updaters, and needed to be reverted to their previous state.
This was caused by a merge conflict between optimistic mutation markers and the changes in #3317 and the prior lines that retrieved the original operation had gotten lost in testing.

A new unit test was added to prevent further regressions.

Set of changes

  • Add unit tests for extra variables to prevent regressions
  • Update code for optimistic flagging
  • Add removed lines to retrieve original operation in mutation result updates

@kitten kitten merged commit ddbc3dc into main Aug 15, 2023
@kitten kitten deleted the fix/extra-variables-regression branch August 15, 2023 10:21
@github-actions github-actions bot mentioned this pull request Aug 15, 2023
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.

graphcache: Extra variables missing in updates
1 participant