# All channels
Sachin D. Shinde@sachin-shinde
Can anyone tell me what's going on? Network error: Error writing result
Error: Network error: Error writing result to store for query: Store error: the application attempted to write an object with no provided id but the store already contains an id of User:5fa289f624aa9a000714ae21 for this object. The selectionSet that was trying to be written…
Intermittent subscription crashing.
I am using next.js with Apollo Client 3 on the front end and a yoga/express server with Prisma 1 for the backend. Now I have three subs early on in the root level which become active when the user logs in. They are changes for the user, new chats and new messages where they are…
how to read normalized reference
These are fragments of my cache declaration I want automaticaly setting a map of combox (reactive var comboMapVar) every time the query (getAllCombo) is runned the transformation doesn't work because the variable incoming is cache normalized data, so ele2 is a reference not real…
Subscriptions: avoid subscribing multiple times to same data
So I have a <ReactiveQuery/> using this awesome package: https://github.com/cult-of-coders/apollo-live-client/blob/master/src/ReactiveQuery.js I did a small recode and ended up with a <Subscription/> component like so: My problem is now, that obviously subscribeToMore() might be…
Prevent multiple queries if Route changes
I am new to ApolloClient/GQL but I understand it does well with caching to prevent multiple queries. I have a <RootProvider /> in my app which when it mounts runs a query to get my list of accounts. Then the user selects their account, it 1) updates Global Redux provider, and 2)…
How to use cache.modify with specific query cached multiple times
Hi! I am trying to delete an item from a list using cache.modify using the query name as an identifier (events to modify ROOT_QUERY.events in my case). However this events query is used in multiple places with different variables, therefore keyed on ROOT_QUERY multiple times. Is…
How to do a partial query refetch after mutation?
After doing mutation I need to trigger update of the query but I do not want to update all the data from the initial query but only part of it (because only that part was changed), is there a way to do this? Thanks in advance!
What's the correct way to manage dynamic queries?
Hello! I have a component that reads URL params and passes them to useQuery as variables for the GQL query. However, I don't know which params will be passed with each query. One time it might be size, colour and weight, another it may just be colour. What would you think to be…