Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

My React Native app (v0.79.5) with Apollo Client works perfectly when testing locally with release APK, but when uploaded to Google Play Console and downloaded from the Play Store, I get consistent ...
Yash Nayi's user avatar
  • 147
1 vote
0 answers
96 views

I'm trying to run a graphql server in nestjs. I get this error when trying to run this project. Package subpath './express4' is not defined by "exports" in /Users/shehanniwanthaka/WORK/RND/...
Shehan DMG's user avatar
0 votes
3 answers
121 views

I have an nx monorepo with a NestJS GraphQL application and it doesn't seem to be generating the latest schema from my Resolver class. I have a @Query and a @Mutation but only the @Query is being ...
mh377's user avatar
  • 1,834
-1 votes
1 answer
84 views

Since sometime recently, possibly from upgrading to apollo 3.9.9 or from switching to mocking with graphql-codegen (not sure which if either), the console of my developer tools now fills up with ...
Pix81's user avatar
  • 715
0 votes
1 answer
53 views

In my react app, I would like to navigate to another page after I execute GQL delete mutation using Apollo. This mutation is called from inside a modal popup: function DeckDeleteModal({showModal, ...
Smajl's user avatar
  • 8,079
1 vote
1 answer
33 views

I am using the following code to manage logged in user fetched from apollo query in my React app. import { useQuery } from '@apollo/client'; import { createContext, useEffect, useState } from 'react'; ...
Smajl's user avatar
  • 8,079
0 votes
0 answers
124 views

------------Update------------ In the end I never solved this problem, and instead deployed the api as its own app service which solved the problem. ----------- Original Post ------------------- I'm ...
chris's user avatar
  • 1
0 votes
0 answers
48 views

I encountered an issue where, when using Apollo to inject a static variable property, the variable is null during project startup. However, when the variable is modified via Apollo, its value is ...
NoBug's user avatar
  • 1
0 votes
0 answers
32 views

We use Apollo inside our Spring Boot app and define our schema in schema.graphqls file. Sometimes, we mark some arguments / fields as deprecated. Is there some way how to detect that some client calls ...
Smajl's user avatar
  • 8,079
0 votes
0 answers
43 views

I have below code snippet: const [state, setState] = useState(null); {data, loading, error} = useQuery(SOME_QUERY, {fetchPolicy: 'no-cache'}); useEffect(() => { setState(data) }, [data]); This ...
Mrityu's user avatar
  • 496
0 votes
0 answers
47 views

I am writing a resolve for an object defined via Graphql. Despite the response returned from a query being correct, typescript keeps giving this error Types of property 'code' are incompatible. ...
user6313136's user avatar
0 votes
0 answers
34 views

New to GraphQL. Working on designing integration for native mobile app (kotlin/swift). Planning to use Apollo GraphQL Architecture: native app(app) -> graphQL server (server) -> REST endpoint (...
James's user avatar
  • 1
1 vote
2 answers
247 views

I want to get the cookie with my client component, but somehow, it always return undefined or empty string. I am using js-cookie since someone recommend it. ApolloProviderClient.tsx: "use client&...
Fikri Lazuardi's user avatar
0 votes
1 answer
37 views

Token API should get called before the GraphQL API but it's being called at the same time I am fetching the headers inside setContext Inside commonAuthHeaders I am calling the API to get refresh token ...
Nischal Singh's user avatar
1 vote
0 answers
15 views

I want to throw a custom exception from the my reactive spring-boot backend to the browser front end over graphql apollo. I want to front end browser to know about the specific information in this ...
Oliver Watkins's user avatar
0 votes
0 answers
63 views

I am trying to find if this is really the case OR login is required for a reduced set of use cases. The most notorious case is that of Operations Collections. I couldn’t find out how to save ...
tnarik's user avatar
  • 159
1 vote
0 answers
46 views

I am trying to implement registered persisted query. when i am running a query which is not there in my PQL, with apq as enabled it is logging the query in router logs with error code “...
varun sharma's user avatar
0 votes
1 answer
58 views

Scratching my bald head here. I am building am app using Expo, react native and tsx. I am using Hygraph as my CMS and Apollo Client. The below mutation works well and everything gets stored in the CMS ...
Umar Milanzi Snr's user avatar
0 votes
1 answer
119 views

When using a Fragment in my query for Graphql call, I am facing below issue with Fragment during Moshi conversion. I have query like this fetchData($userId: String!) { ...UserDataFields } fragment ...
skv1996's user avatar
0 votes
0 answers
26 views

I have two queries which look like this: const GetPayablesQuery = gql` query GetPayableInvoicesQuery( $paging: PagingGqlInputOfPayableInvoiceSortColumnGqlInput! $teamId: HashId! $filter: ...
Mark Steggles's user avatar
0 votes
1 answer
86 views

I am trying to run the useLazyQuery in my vue to get data from Apollo client. I am passing the parameter and query return different results based on the parameter being passed. My issue is that result ...
Arun Kumar's user avatar
0 votes
1 answer
93 views

I have cross-cutting concern across my graph, where I need to aggregate fields at my gateway layer, versus at my subgraphs. I must tag fields of interest in all of my subgraphs with a custom directive ...
cdaringe's user avatar
  • 1,588
0 votes
0 answers
18 views

I'm pretty new to GraphQL and I enountered an issue. The issue is: I have a list of tags that are around 40. so when I try to fetch the data initially, it returns a 30 tags and an end cursor: const ...
Blues's user avatar
  • 17
1 vote
2 answers
1k views

I'm trying to add apollo-angular to my Angular 19 project, but I'm getting the following output in the terminal: We couldn't find 'esnext.asynciterable' in the list of library files to be included in ...
mkelley33's user avatar
  • 5,659
2 votes
0 answers
203 views

I’m working on an iOS project using Apollo with GraphQL in Xcode 16.1, and I’ve encountered an issue that prevents me from building my project correctly. When I try to build the app, I get the ...
Jael  Ruvalcaba's user avatar
0 votes
1 answer
165 views

I am using Next.js v14, graphql, ApolloClient and ApolloGraphQL Experimental support for NextJS { "@apollo/client": "^3.12.0-rc.3", "@apollo/experimental-nextjs-app-...
randomuser5767124's user avatar
0 votes
0 answers
34 views

We have a Node + Apollo Server GraphQL API that calls multiple microservices. Under performance testing, we are suddenly hit with a lot of 500 responses with the message A connection attempt failed ...
jhm's user avatar
  • 4,564
-1 votes
1 answer
97 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
0 answers
137 views

I am trying to learn how to use Apollo-ios library to work with GraphQL API. I created an example trying to run a simple query on free API: https://countries.trevorblades.com. I followed all ...
ofun's user avatar
  • 87
3 votes
1 answer
1k views

I'm using Strapi as a headless CMS with the Draft & Publish feature enabled, and I'm querying the data using GraphQL in my project. The problem I'm facing is with filtering drafted and published ...
david's user avatar
  • 87
1 vote
0 answers
206 views

I'm encountering a 502 Bad Gateway error when switching between pages in my Next.js application that uses Apollo Client. Here’s a brief overview of my setup: import { ApolloClient, HttpLink, ...
Srys's user avatar
  • 11
0 votes
0 answers
171 views

I'm running a GraphQL server using Rails with the graphql-ruby and graphiql-rails gems. I can access the GraphiQL interface successfully. I've set up a POST route at /graphql that maps to graphql#...
Mighty's user avatar
  • 43
-1 votes
1 answer
597 views

I am using apollo-ios library via the Swift Package Manager, and I can install apollo-ios-cli from the Xcode menu. However, when building my app in a CI/CD environment, the tool cannot interact with ...
Yamamoto's user avatar
  • 198
1 vote
0 answers
101 views

I'm updating my app to use Apollo 4.0.0 (from 3.8.2). When building, I get this error: No schema found. Apollo needs a .graphqls or a .json schema. There is most definitely a file called schema....
AndroidDev's user avatar
  • 21.4k
0 votes
0 answers
259 views

i am trying to implement a graphql client / server in my private lan. i am using apolloclient 3 and apollo server 3. for some reason the client fails to query the server. a simple fetch from the same ...
Ralf Bokelberg's user avatar
0 votes
1 answer
223 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
37 views

I'm using useAsyncQuery in a Nuxt3 App and want to access the graphQLErrors. It seems that important attributes like extensions and path are not part of the error object in a composable object. const {...
user3603819's user avatar
0 votes
1 answer
49 views

I'm trying to use local schema from this url: https://spacex-production.up.railway.app/ In my data module I have apollo { service("RocketsGraphQL") { packageName.set("com....
Equlo's user avatar
  • 197
0 votes
0 answers
280 views

I need help. I currently have nestjs graphql microservices (apollo) federated via a nestjs gateway (appollo gateway). The types are shared between the services via a library that shares the types (I'm ...
Axel Carisey's user avatar
0 votes
1 answer
128 views

I am getting datasource undefined on resolvers when trying to query getTracking. I have a FedexAPI class that extends RESTDataSource from "@apollo/datasource-rest" as a Data source. The ...
Anamol Acharya's user avatar
0 votes
1 answer
209 views

I’m working with a Anilist's GraphQL API where the Media query supports fetching media by a single ID. The schema for the Media query looks like this: query Media($idMal: Int!) { Media(idMal: $idMal)...
Swargaraj Bhowmik's user avatar
0 votes
1 answer
145 views

I am trying to implement apollo client in our shopify theme using vanilla js. almost all the documentation and guides use npm to install the apollo client package. while on shopify we don't use npm ...
Haroon Ahmed's user avatar
1 vote
1 answer
201 views

I have a React app where I am using Apollo client to handle GraphQL queries and caching. I have two GraphQL queries, one that fetches a whole menu and another that fetches top level menu sections. I ...
Stretch0's user avatar
  • 9,400
1 vote
1 answer
175 views

I want to have centralized client-only fields. Example: Server: type Name { first: String last: String } type User { name: Name } Client: extend type User { fullName: String! } import { ...
Anton S's user avatar
  • 59
2 votes
1 answer
163 views

Apollo Client is refusing in any circumstances to update cached data with the ones from the server. We are running Apollo Client in Next.js (14.2.5) SSR using the getClient() method below: import { ...
Gregory Buffard's user avatar
0 votes
1 answer
312 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
1 vote
0 answers
241 views

So we have this problem with Apollo client. Our stack if following: PayloadCMS graphQL API and Next.js 14 with Apollo client. The problem is following when data are changed on the PayloadCMS, the Next ...
Boris Grigorov's user avatar
0 votes
1 answer
60 views

I have two NextJS applications under separate repositories and different domains. I want the second NextJS application to fetch the first NextJS application's backend code. Backend is graphql + apollo....
Mona Fang's user avatar
0 votes
1 answer
79 views

I have a use case in Angular Apollo that looks something like: eval(someId: number): Observable<string | Error> { return this.apollo.query<FirstQuery>({ query: FirstDocument, ...
Scott Deerwester's user avatar
0 votes
2 answers
65 views

I'm having a hard time making Apollo mutations from server to server. I've spent quite a while today looking around for examples or suggestions on best practice for passing data between two API's that ...
Brahmvanh's user avatar

1
2 3 4 5
91