Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
1 vote
1 answer
78 views

First, I call useGetData with parameters that include filters for test1 and test2 (this is correct). The data is fetched and stored in the cache. Then, I disable the test2 filter and make a new ...
lukasmaska98's user avatar
0 votes
0 answers
50 views

I am using apollo client react UI "@apollo/client": "^3.8.1", "apollo-link": "^1.2.14", "apollo-upload-client": "^18.0.1" **NodeJs ** "...
BALAJI V S's user avatar
0 votes
1 answer
227 views

I have a GraphQL query which looks like so query Person($cursor: ID, $limit: Int) { items:{ ... } name ... cursor } While making the query for the next page, I fetch using the returned ...
dumbPotato21's user avatar
  • 5,703
-1 votes
1 answer
96 views

With the launch of the 0.76 version of React Native there is a new devTools and I was wondering if the Apollo Client Devtools is compatible with it.
Ludivin Divin's user avatar
0 votes
1 answer
80 views

I am trying to use cache.modify to update a field after mutation. This is reactions field of my Message model. The mutation removes reaction from the reactions field. I am using optimistic response. ...
Georgy Nemtsov's user avatar
0 votes
1 answer
220 views

I’m looking for a way to run a query against a mock data object. The problem I currently mock the GQL response via . That works great, but the mock’s result comes back exactly as defined. The mock ...
Gabriel Faria's user avatar
0 votes
1 answer
302 views

I have this weird behavior that I've been wrapping my head around for the past couple of hours. Let's consider these two queries as examples: A query that returns and array of authors query Authors { ...
As above so below's user avatar
0 votes
1 answer
106 views

I have been trying to get my graphQL query to pass variables to my back end. I have tested my server side resolvers and they perform well when static data is coded. My front end doesn't ever reach ...
David Carioto's user avatar
1 vote
1 answer
706 views

I implemented a 'cancel query' feature, in my react app, when submitting a graphql request with apollo client while one is still running: const [searchQuery] = useLazyQuery<QueryResponse>(...
L_Cleo's user avatar
  • 1,567
0 votes
1 answer
316 views

I'm making a project in React, using apollo-server-express, graphQL and postgreSQL, I've done the type definitions and some queries and mutations, but there is 3 in specific that isn't working ...
Hid's user avatar
  • 19
0 votes
0 answers
128 views

I'm trying to make queries work, It seems like even when I'm overcoming the CORS issue I still get 403. Here's my code: import { ApolloClient, InMemoryCache, gql } from '@apollo/client'; const ...
Maayan's user avatar
  • 1
0 votes
1 answer
143 views

Trying to fetch localized content from Strapi v4 (PostgreSQL) with Apollo GraphQL's useQuery. It works fine when the locale value is hardcoded, but not when passing it as variable. Docs. Example #1 (...
Rwzr Q's user avatar
  • 184
0 votes
1 answer
162 views

I am querying some data from apollo server with the below structure: hero { image { id name mimeType url } title description } welcome { image { ...
Theo Itzaris's user avatar
  • 4,706
0 votes
1 answer
424 views

I am using Apollo to query for multiple items when a user clicks a button. The data on the backend can be populated after some time, so I want to use polling to return the result eventually. I ...
Casey's user avatar
  • 572
0 votes
1 answer
130 views

I'm inquiring about a way to set custom headers for different queries using Apollo. With the code below, found on Apollo Docs, a header is set for all HTTP requests using that client variable. Is ...
mfusco's user avatar
  • 51

15 30 50 per page
1
2 3 4 5
154