# All channels
Sachin D. Shinde@sachin-shinde
Apollo + mobx-state-tree
Hello everyone in this chat, I'm interested in the question of wrapping data after receiving it from the server and before rendering. Is it possible to wrap raw data in class instances? for example, with useQuery, I received an array of books, and I wrapped them in new Book (),…
Apollo Client (updating cache manually)
what's the benefit of using the readQuery and writeQuery over the refetch? it seems to still make an additional network call, even says in the Apollo Docs. https://www.apollographql.com/docs/react/caching/cache-interaction/#cachemodify Like writeQuery and writeFragment, modify…
Deleting nested item from cache
I have an object type entity that can be related to another object type something through a list entityInstances. The something is also a in a list within somethingContainer: The entitys can appear in several entityInstances, but the instances are unique to their somethings, and…
relayStylePagination stops automatic refetch when variables change
I just got started with latest AC for React, using the useQuery hook. Everything works but after I added the relayStylePagination policy, useQuery no longer automatically refetches when the variables change. Any thoughts on how to fix this?
Minor problem of printing Mocked response should contain either result or error
Hello folks, I m testing a mutation query using 'react-apollo/test-utils' The test works correctly and gives right feedback for incorrect mutation parameters. Although the query fails with response "Mocked response should contain either result or error" from test environment (If…
How do you access a mutation's variables after invoked?
A mutation result returns the data, a boolean indicating whether your mutation is in flight and a few other results, but it doesn't include the arguments it was invoked with which is unfortunate. How does one access the variables a mutation was invoked with after a mutation gets…
Data gets refetched for server rendered page using pagination (SSR)
Hey everyone, I've been completely stuck with a problem for the last two days and would really appreciate some hints for solving this. Basically, I have an isomorphic app with a page that renders a list of items (e.g. 20 to begin with) and rehydration works fine. Page is…