Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diffQueryAgainsStore set returnPartialData to false
Is there a reason why returnPartialData is true? This was hiding an error and returning { data: undefined, networkState: 7, stale: true } for me. I had forgotten to query for the id of an object and watchQuery could not find it in store. With returnPartialData false i was able to get an error about missing property and finally find the problem. With this true all i was getting from watchQuery was { data: undefined, networkState: 7, stale: true }. Maybe related issues: apollographql#3030 , apollographql#2914
- Loading branch information