I know for a fact that to get the next page via cursor based pagination you need to example if query is product: products(first:12, after: endCursor,) Get the
I am looking at an error report from Apollo Client. I am not able to reproduce the issue and it doesn't appear to happen often, but I would like to figure out w
The dev tools version is 4, same situation in Chrome as in Firefox. "@apollo/client": "^3.5.7", const createApolloClient = (authToken) => { return new Apol
I am getting access token after login and I want to assign that token to authorization in headers in my App.js I am using async storage to store the access toke
Context: I'm working with micro front-end, and I want to access the uri of the apollo client. I'm currently passing the whole client object and I don't want to
I was struggling with a test issue for my custom useLazyQuery hook. My first test is passing but the second one is failing. What am doing wrong for the second t
I need to generate the sha256 string from a graphql query - without Apollo. Assuming my query looks something like: query Foo { bar { test } bar2 } H
Hello I am new to ApolloClient and I don't know to pass multiple URI links as a clint and I have to use those all URI if anyone knows about it give me suggestio
I wanted to know how to pass multiple headers in Apollo GraphQl as i know how to pass single but not multiple headers.Any solutions or suggestions appreciated.T
I'm using react-router V6 and trying to test the new feature of useOutletContext. my testing library is testing-library/react and I'm not sure how to pass the C
I am having trouble properly setting up csrf tokens in the authlink header. const authLink = setContext((_, { headers }) => { const token = localStorage.
Here's my schema file: import { gql } from 'apollo-server'; const typeDefs = gql` type Price { currency: Currency!, amount: Float! }
I need some help. I'm a newbie in apollo client reactive variables. There is a component where the displaying of the message depends on a variable that values f
I am learning apollo. When I run my code it showing this error on my browser I don't know if it is my browser's problem. can anyone help me fix this Error messa
I'm trying to fetch data using Apollo Client useQuery in React Native, but loading hangs at true state and fails to fetch data. below is the actual code. App.js
With the help of graphql-codegenerator we created a graphql useQuery that correctly retrieves data from the backend. When a string is entered into an input fiel
So we're creating a React-Native app using Apollo and GraphQL. I'm using JWT based authentication(when user logs in both an activeToken and refreshToken is crea
I pass a query to apollo client in my script tag, in my template file but I don't want to do it every time. Rather, I'd like to pass a boolean in a prop and the
const function= () => { facets = useSearchMoreFacets( variables ); }; type UseSearchMoreFacets = { facets: MappedFacet[] | undefined; };
My frontend is localhost:3000, and my GraphQL server is localhost:3333. I've used react-apollo to query/mutate in JSX land, but haven't made a query/mutation f