-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
Reactive Variables with 'cache-first' not working in new version #138
Comments
@Akryum I think its a bug with the latest version, v2. The query below was working fine. But after upgrading, it's not working anymore
|
Do you have a reproduction to share? |
@Akryum mine is a little big code base and it's in localhost. So have to host 3 projects in order to show it to you |
Well, you don't have to share your entire project, but if you can, it would be great to have a minimal reproduction of the issue in a separate repository (or zip). |
@Akryum ok. I'll create a simple repo and send it to you soon |
@Akryum I've created for you: https://github.com/gijo-varghese/vue-apollo-demo |
@Akryum are you able to reproduce it? I'm using a sample API developed by Graph Cool. Not sure how long will they exists |
I didn't have time to check it out just yet.
Le sam. 4 nov. 2017 à 10:53, Gijo Varghese <notifications@github.com> a
écrit :
… @Akryum <https://github.com/akryum> are you able to reproduce it? I'm
using a sample API developed by Graph Cool. Not sure how long will they
exists
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACqyfPXbvRgjknsvumR45S3Vy5Caimjqks5szDQIgaJpZM4QLGdZ>
.
|
@Akryum can you please check it |
I got the same problem, any updates on this? |
@thomasaull try updating your packages. It's working for me now |
@gijo-varghese No, unfortunately it doesn't solve the issue for me… I got an array of ids I want to filter my data with:
This is only true if I use |
Can you pls provide a link to the repo? I'll check it |
Or try my repo: https://github.com/gijo-varghese/vue-apollo-demo (there is a branch with Apollo client v2) |
I tried to create a test repo yesterday, but I couldn't reproduce the error… Queries in Apollo Dev Tools get updated accordingly, just the data doesn't show up in my component |
I think this is not an error. you need to make separate queries for both type. then, with the second type of query, you need specify in apollo inmemory-cache's option for example: then, you can using apollo cache as you want. |
I left VueJS though 😐 |
I recently upgraded to the latest client 2.0. But after that reactive queries are not working. However, this is the case only for
cache-first
. Fornetwork-only
its working. I think there is a bug in the new version. Looks like it can't read from cacheThe text was updated successfully, but these errors were encountered: