Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
63 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
162 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
134 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
132 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,095
1 vote
1 answer
34 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,095
0 votes
0 answers
139 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 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
  • 508
1 vote
2 answers
271 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
39 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
16 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
1 vote
0 answers
55 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
61 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
139 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
29 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
97 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
103 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,628
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,669
2 votes
0 answers
222 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
185 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
38 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
112 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
139 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
223 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
188 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
662 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
109 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
272 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
263 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
39 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
52 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
297 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
142 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
266 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
150 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
221 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,414
1 vote
1 answer
230 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
186 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
357 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
271 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
62 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
81 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
86 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 vote
1 answer
315 views

I am currently writing a Java coprocessor for the enterprise version of Apollo Router. I need it to propagate values from the RouterRequest stage, all the way to the RouterResponse stage. I had ...
Ludovic's user avatar
  • 11
1 vote
1 answer
91 views

im learning angular 18 SSR. I have a render problem when i load data from a graphql service; the load elements (skeletons) are showed using the value loading from a signal converted from a service ...
Dr oscar's user avatar
  • 407
0 votes
0 answers
150 views

I need to wrap functions and pass in the wrapped-functions' arguments as parameters in the wrapping-functions. Rather than create interfaces for arguments for each instance of wrapped functions, I was ...
Matt's user avatar
  • 23
0 votes
0 answers
143 views

I'm developing my first Angular v18 client app consuming an Azure function app with GraphQL (hotchocolate). I have a problem with apollo apparently, when I try to consume the service, in the console....
Dr oscar's user avatar
  • 407
0 votes
0 answers
119 views

So I'm getting this error: Invariant Violation: Could not find "client" in the context or passed in as an option And the reason is because my component is not wrapped in ApolloProvider So ...
Red Baron's user avatar
  • 7,775
1 vote
0 answers
120 views

TL;DR When calling the supergraph to upload files where the type is defined as Upload in the schema, the subsequent call to the subgraph passing in the Upload type fails with: "message": &...
mbx-mbx's user avatar
  • 1,775

1
2 3 4 5
91