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

Don't strip data away from the component when the query errors #98

Merged
merged 1 commit into from Jul 11, 2016

Conversation

Projects
None yet
2 participants
@rricard
Copy link
Member

rricard commented Jul 8, 2016

Fixes #97

Get back the oldData in case the query errored
It will be empty anyway on the first fetch. But on a force refetch or
polling, it won't empty the component from its data while still adding
the errors. to it.

Fixes #97
@jbaxleyiii

This comment has been minimized.

Copy link
Member

jbaxleyiii commented Jul 11, 2016

Thanks @rricard!

@jbaxleyiii jbaxleyiii merged commit dbb03dd into apollographql:master Jul 11, 2016

3 checks passed

CLA Author has signed the Meteor CLA.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 95.946%
Details

@rricard rricard deleted the rricard:dont-drop-data-on-error branch Jul 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment