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 useMutation returning different execute functions for the same options #9037

Merged
merged 3 commits into from
Nov 10, 2021

Conversation

brainkim
Copy link
Contributor

@brainkim brainkim commented Nov 10, 2021

Apollo Studio is relying on the identity of the execute() function of useMutation() to be the same in a couple places. This appears to have changed between 3.4 and 3.5. This PR restores the old identity behavior.

Copy link
Member

@hwillson hwillson left a comment

Choose a reason for hiding this comment

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

Thanks for tracking this down @brainkim!

@brainkim brainkim merged commit 80da5c5 into main Nov 10, 2021
@brainkim brainkim deleted the brian-useMutation-fix branch November 10, 2021 14:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
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.

None yet

2 participants