Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Prevent runMutation from throwing an error #3575

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

brapifra
Copy link

@brapifra brapifra commented Oct 8, 2019

This relates to apollographql/apollo-client#4283

useMutation shouldn't throw any error when it's being run. The error is already passed in the MutationResult object.

@brapifra
Copy link
Author

brapifra commented Oct 8, 2019

Some tests are failing. I am happy to fix them if you agree that this should be the expected behaviour.

@brapifra
Copy link
Author

Could this be reviewed by somebody? Maybe @hwillson?

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.

1 participant