-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
LazyCacheMap limits #629
Comments
so, you're essentially attempting to deserialize an operation from the cache, but one of the referenced entities does not have all the expected fields, and thus is creating an issue? I'm not sure where this would happen, except for situations where the cache is broken. |
If I am not mistaken, simply by calling a first request with a field The result of the second request for me is subFields 1 & 2, but should have been 3 & 4. I am using Thanks! |
Good news! Can't wait for that 🙂 |
Hey @micimize ! I am sorry but I have found what caused this problem! In fact I don't have any problem now! But there might be a very little bug during the merge of old cache and new cache value.
But if I remove me.__typename, the cache works perfectly well! Working queryB:
|
@SwannLV what you're doing there is basically a workaround to disable normalization, because it won't flatten result unless there's a |
Indeed, but if i remove normalization on 'me', normalized cache on 'user' works as expected. |
Hello!
Any short term plan to change LazyCacheMap to something that would look if all the fields of the query are in the cache before returning a value?
I am really struggling without it..
(I am using typename/id normalization)
Thanks a lot!
The text was updated successfully, but these errors were encountered: