# All channels
Sachin D. Shinde@sachin-shinde
getting error "Cannot query field \"calculate\" on type \"Query\"."
im getting the error "Cannot query field \"calculate\" on type \"Query\"." while trying to call the query using apollo client. please help. I searched online solutions and I'm using latest apollo version
Is it possible to ignore NetworkError in ErrorLink?
In article regarding Error link there is section about ignoring errors: https://www.apollographql.com/docs/react/api/link/apollo-link-error/#ignoring-errors Ignoring graphQLErrors works properly, but I cannot find a way to ignore/filter networkError in ErrorLink
Apollo Client Nextjs getstaticprops Unexpected token < in JSON at position 0
I am getting this error ServerParseError: Unexpected token < in JSON at position 0, when trying to use apollo client on vercel production in getstaticprops method, while getserver props runs seamless. Is anyone aware of this issue
useQuery hook isn't passing variables down to the network request
I have this use case where I have to pass a variable in the useQuery hook, but this variable is not used in the actual query that I'm making. Now in the actual network request, the variable is missing, maybe because it's not required anywhere in the actual query. This variable…
I don't think my cache is working
all my code looks correct, but I'm not seeing anything in my dev tools AND when I console.log "client.cache", I can't seem to find anything that looks like my cache in that object. What is a good method for verifying if my cache is working?
how to use auth token stored in context API
hello, I presently manage log in my app. after a successful login, the value is stored in the react context API. this is the jwt token I need to include this jwt token in all of my graphql and query requests. how can I do this? the examples I see only talk about using apollo…
Undefined elements are removed from an array in the cache
Hi, I am implementing infinite scrolling with pagination. I use the "fetchMore" API to request more data I I scroll through the page. To append data to my cache (which is the state of my app), I do: If the data is loaded sequentially that works. However, if I load a random chuck…
How to get the server (api) data after mutation?
I am using a Django graphql API and I am trying to make a mutation from reactjs side. However, in this image you can see I can make a mutation and after the mutation, the API returns some data for me. Finally, in the following code, I am making the mutation request just like in…
Is InMemoryCache supposed to work in Node.js?
I am building an HTTP service using Node.js and it needs to talk to an internal GraphQL service. Current code base uses ApolloClient to talk to the internal GraphQL service. And it works. But I want to add InMemoryCache because response time of GraphQL service can be slow. After…
Usage of update() in mutations among typePolicies
Hi there!, I'm aware of the new cache configuration and it's typesPolices, and i do also receive deprecation warnings when using update() in queries, but no warning when applying it in mutations. Is it also deprecated for mutations? If a set typePolicies among with the update()…