# All channels
# Apollo Angular
# Apollo Android
# Apollo Client
# Apollo Federation
# Apollo iOS
# Apollo Link
# Apollo Link Rest
# Local State
# Apollo Platform
# Apollo Server
# Apollo Tooling
# GraphQL Tools
# React Apollo
# Vue Apollo
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…
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…
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…
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…
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…
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…