-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Response without data when fetchPolicy: 'no-cache' isn't present #3272
Comments
experiencing the same issue on [email protected] |
@michaelknoch @andfs Could you please clarify what exactly causes this issue? I am trying to figure out if my issue is also related to this issue.. My Query components that use the Changing the policy back to
|
What I'm doing to get around this bug is first asking with It isn't strictly related to 'no-cache', but I'm here to confirm that something's wrong with the cache handling. |
Would someone here be able to provide a small runnable reproduction that shows this happening? Ideally with just Apollo Client (or React Apollo). Angular related issues should be opened in the https://github.com/apollographql/apollo-angular repo. Thanks! |
Just to follow up here - the original issue does not sound like an Apollo Client issue. If this problem is still happening, please re-open this issue in the Apollo Angular repo. That being said, #3272 (comment) is an Apollo Client issue. If you're passing a |
Version
[email protected]
[x ] has-reproduction
feature
docs
[x ] blocking
good first issue
-->
I'm using [email protected] with angular 4, and all responses of a query return with data = undefined when fetching without fetchPolicy: 'no-cache'. This error occurs in react too.
Response without fetchPolicy:
Response with fetchPolicy: 'no-cache':
The text was updated successfully, but these errors were encountered: