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

Improve the results of synchronously executed Mutations. #45

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

ogaclejapan
Copy link
Contributor

When isOneShot in MutationOptions is set to false, multiple calls might not receive the intended results (there was a possibility of referencing the state of the next execution).

By using a callback, the execution results of the Mutation can be awaited on the calling side, ensuring that the results of the call are reliably referenced.

When `isOneShot` in MutationOptions is set to false, multiple calls might not receive the intended results
(there was a possibility of referencing the state of the next execution).

By using a callback, the execution results of the Mutation can be awaited on the calling side,
ensuring that the results of the call are reliably referenced.
@ogaclejapan ogaclejapan added the bug Something isn't working label Jul 28, 2024
@ogaclejapan ogaclejapan self-assigned this Jul 28, 2024
@ogaclejapan ogaclejapan merged commit 1bf6e0d into main Jul 28, 2024
1 check passed
@ogaclejapan ogaclejapan deleted the improve-mutation branch July 28, 2024 07:59
@github-actions github-actions bot mentioned this pull request Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant