menu
Channels
Team
Posts
Members
Info

is there any explorer on Apollo Playground pls?

Trying to using Graphiql because that explorer feature , any information ?? Best Regards

thumbsup
0
message-simple
1

Need help finding source code for example being used for Local state management

Looking for help to understand Local state management better using source code for examples being used in Docs here: https://www.apollographql.com/docs/angular/basics/local-state/

thumbsup
0
message-simple
0

ApolloTestingController with Local State Not Working

This is a greatly simplified example of my unit test. The production code works perfectly. I write userToken to the cache directly and the query gets executed on the server with Apollo Client passing down the userToken from the cache like magic. local state is amazing. But unit鈥

thumbsup
0
message-simple
3

How should `loading` work in a query subscription?

I'm trying to understand how the loading arg should work in a query subscription. Consider this query: I would expect this to initially log true for loading, and then log false after the data has returned. I haven't seen it work that way; it always logs false and only seems to鈥

thumbsup
0
message-simple
1

How to send header with mutation in Angular?

I have logout mutation needs "Authorization" header to send the token to the backend. Can someone give me advice?

thumbsup
0
message-simple
1

Duplicate data in response

I am integrating graphql api in my angular project. I am receiving the same data duplicate in each node. Is the any solutions to avoid duplicate data. But in networking when see the response the data is correct.

thumbsup
0
message-simple
1

Angular UI multiple GraphQL Instances and Subscriptions

Hi, I have a solution which has an Angular UI that connects to a GraphQL API. The GraphQL sits in a Kubernetes cluster with 2 replicas running. My Subscriptions don't always work due to there being multiple API instances. I have looked into axelspringer/graphql-google-pubsub but鈥

thumbsup
1
message-simple
1

Testing queries with local data using ApolloTestingController?

Apologies in advance if this is super obvious, but I have a query with a @client directive, on a key handled by a local resolver. This all works fine in the app itself, but it seems like there's no way to pass my local resolvers to ApolloTestingModule, and as a result I'm not鈥

thumbsup
0
message-simple
1

Multiple instances of Apollo service with different stores, wtf?

Hello! Somewhat new to Angular, and I've spent a fair amount of time with Apollo in React. I hit a snag today that surprised me, and I'm wondering if someone can help explain it. I created a fairly standard GraphQLModule like I've seen in a lot of examples: That module is鈥

thumbsup
0
message-simple
3

Is there a smart way to refetch a query when subscription fire ?

Hello world! :) I use Apollo Client to fetch data from api and put it in a mat-table. I use subscription to insert or remove row when another user manage data (realtime stuff ^^) but I think I do it wrong. here is my subscribeToMore code As you can see I compute data from鈥

thumbsup
1
message-simple
1