You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got another strange issue where the cached data coming back from useQuery is slightly corrupted. It's the same query that I was referencing in #6.
Here is what the data looks like when using the stock @apollo/client version of useQuery:
Possible relevant, I am using the apollo-cache-persist library to persist my Apollo cache to localstorage. If I look at the data in localstorage directly, it is correctly formatted though.
If I had to guess, it looks like a possible issue with the spread operator on a nested array but you'd know better than me :-)
The text was updated successfully, but these errors were encountered:
Hey, I just fixed this in v1.11.4 - I happened to stumble across the very thing in one of my projects today. Thanks again for helping me make this library as good as possible!
I've got another strange issue where the cached data coming back from
useQuery
is slightly corrupted. It's the same query that I was referencing in #6.Here is what the data looks like when using the stock
@apollo/client
version ofuseQuery
:And the exact same query with
apollo-augmented-hooks
:Possible relevant, I am using the
apollo-cache-persist
library to persist my Apollo cache to localstorage. If I look at the data in localstorage directly, it is correctly formatted though.If I had to guess, it looks like a possible issue with the spread operator on a nested array but you'd know better than me :-)
The text was updated successfully, but these errors were encountered: