# All channels
Sachin D. Shinde@sachin-shinde
Handling @client fields with resolvers
I have a query that contains a virtual field that gets resolved from a local link-state cache, but when I update the cache the value in the query doesn't change. Is there any solution to update that field without refetching the query?
Using MockedProvider to test queries that use fragments
Version: ^3.0.0-beta.41 I'm running into an issue whereby the MockedProvider is not returning the fields within the fragment, adding the fields directly into the query works fine. Has anyone else run into this issue?
Fetching data from a query to put in the state
I'm working on an edit page and i want the values to be filled with the values from the query so they can be edited in a form. I would need to make an empty object which i fill with the query data so i can initialize that object in the state in the componentdidMount() function.
How to use useQuery and useState properly ?
Hello everyone, i'm struggling with useQuery and useState hook in a Nextjs project. Basically, i want to "store" data returned by useQuery into a state to filter it after. I suspect exerciseList state is undefined at the very first time and the component is rendered before data…
Deleted·12d# React Apollo
client.readQuery not finding cached query
Hi, I'm trying to use readQuery so I can update my cached results. However, when I run readQuery with a new variables object that has same property values as my previous query it fails to find it. It only seems to work when I use the same reference to variables value that I used…