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

returnPartialData throws error on empty store #46

Closed
NeoPhi opened this issue May 9, 2016 · 2 comments
Closed

returnPartialData throws error on empty store #46

NeoPhi opened this issue May 9, 2016 · 2 comments

Comments

@NeoPhi
Copy link

NeoPhi commented May 9, 2016

If in mapQueriesToProps I specify returnPartialData: true I get an error thrown from diffFieldAgainstStore saying that Uncaught Error: Can't find field viewer on object [object Object].. I would expect an undefined object to be returned to the view if no data was in the store and returnPartialData was set to true.

@stubailo
Copy link
Contributor

Closing in favor of: apollographql/apollo-client#193

@stubailo
Copy link
Contributor

This should be fixed in Apollo Client 0.3.5. Please let me know if it isn't!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants