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

Do not update query after changing ApiClient #1145

Merged
merged 2 commits into from
Oct 15, 2017

Conversation

valerybugakov
Copy link

Using another ApiClient with graphql container and mutation causes running of this.updateQuery(nextProps); which should not be executed for mutation from my understanding.

Fixes already closed #812.

@apollo-cla
Copy link

@valerybugakov: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@jbaxleyiii
Copy link
Contributor

@valerybugakov wonderful! Could you update the changelog and add a test for this?

valerybugakov added a commit to valerybugakov/react-apollo that referenced this pull request Sep 27, 2017
@valerybugakov
Copy link
Author

@jbaxleyiii added test case and rebased with master

@jbaxleyiii jbaxleyiii merged commit e6526f4 into apollographql:master Oct 15, 2017
@flisky
Copy link

flisky commented Dec 21, 2017

We're bitten by this. Any chance we can land it in master and release it?

@flisky
Copy link

flisky commented Dec 26, 2017

ping again, @jbaxleyiii @valerybugakov. It was NOT merged to master, and could anyone confirm?

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.

Unhandled JS Exception: Must contain a query definition.
4 participants