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

[2.0] error in data prop from HOC is undefined when query has an error #1206

Closed
bogdansoare opened this issue Oct 5, 2017 · 6 comments
Closed
Assignees

Comments

@bogdansoare
Copy link

bogdansoare commented Oct 5, 2017

Trying to access the error property of the data object from HOC returns undefined even when a query has an error.

Version

@bogdansoare bogdansoare changed the title error in data prop from HOC is undefined when query has an error [2.0] error in data prop from HOC is undefined when query has an error Oct 5, 2017
@bogdansoare
Copy link
Author

I've recreated the issue on codesandox https://codesandbox.io/s/lrwvwr41pl

@stale
Copy link

stale bot commented Oct 26, 2017

This issue has been automatically labled because it has not had recent activity. If you have not received a response from anyone, please mention the repository maintainer (most likely @jbaxleyiii). It will be closed if no further activity occurs. Thank you for your contributions to React Apollo!

@bogdansoare
Copy link
Author

@jbaxleyiii could you please take a look at the issue. Thanks

@jbaxleyiii
Copy link
Contributor

@bogdansoare thanks so much! sorry I missed this early on! It will be fixed via apollographql/apollo-client#2491

@jbaxleyiii jbaxleyiii self-assigned this Nov 6, 2017
@bogdansoare
Copy link
Author

@jbaxleyiii no worries, thank you for the all the effort ❤️

@jbaxleyiii
Copy link
Contributor

@bogdansoare Fixed with apollo-client2.0.2!

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