menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Hugh Willson
@hwillson
Ellen Shapiro
@designatednerd
Jesse Rosenberger
@abernix
Jake Dawkins
@jakedawkins
Martin B
@mbonnin
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Khalil Stemmler
@khalilstemmler
Martijn Walraven
@martijnwalraven
Jenn Creighton
@jenncreighton
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Danielle Man
@daniman
Adam Zionts
@zionts
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Chang Wang
@cheapsteak
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

Ask about Subscriptions in Apollo-sever

Hi guys, I have a complicated case. I set up my express server with apollo-server-express and it works great. However, when I set up subscriptions, it works, but i can not get the payload when executing those subscriptions. I always get null value, although everything works…

thumbsup
0
message-simple
0

Single Discussion Location for Federated Subscriptions

The discussion of federation with subscriptions seems to be scattered over the internet, is there a single source for updated status on the progress or strategies of supporting subscriptions with federation?

thumbsup
1
message-simple
0

subscribe/unsubscribe performance characteristics

Hi, I'm currently seeing interesting behavior in one of our production applications that uses Apollo GraphQL Subscriptions. There are scenarios where clients can rapidly iterate through the subscribe/unsubscribe sequence (10 channels) causing the NodeJS runtime to lockup. Given…

thumbsup
0
message-simple
1

Recommendation for performance test subscriptions

Hi, We are about to embark in performance testing our new GraphQL API. We are specifically interested in load testing the performance of our subscriptions. A lot of content online covers recommendation for testing queries and mutations (via HTTP) however I was unable to find…

thumbsup
0
message-simple
1

Resetting auth token in connectionParams

Hi guys, I'm using Apollo Client and Server and using JWTs for authentication. I'm having an issue with setting and resetting the JWT inside the connectionParams field of the SubscriptionClient. (This is the first parameter of the onConnect property for subscriptions on Apollo…

thumbsup
1
message-simple
2

Does my implementation of subscriptions look wrong?

It works right now but basically the issue I was getting was that it was pushing the new message from subscription into the messages array multiple times after the first time. The example of the error would be: newMessage = "hello2" …

thumbsup
0
message-simple
0

Subscriptions performance: withFilter vs dynamically created triggers

Let's say I'm using an external pubsub implementation like Redis. I assume it eases the load on the GraphQL server to dynamically create triggers (e.g., NEW_COMMENT:POST-${postId} and have users subscribe to these triggers depending on which post they're viewing — rather than a…

thumbsup
0
message-simple
2

Trying to figure out how to capture a client unsubscribing ..

The life-cycle event doc indicate that he OnOperation and OnOperationComplete should trigger when the client stops a subscription (eg hitting the stop button in graphql playground). But in my case nothing happens ..only the OnDisconnect is called when i close the tab/browser.…

thumbsup
0
message-simple
2

Replacing Apollo Server's PubSub with other implementation

Hi, I saw in the doc that it is not recommended to use the PubSub provided by ApolloServer for production application, and saw some of the alternatives, however, when I used Apollo's PubSub - all was working, now when I try to switch it for RabbitMQ's PubSub - I am failing to do…

thumbsup
0
message-simple
3

useSubscription usage getting old data back after loading

Hi I am having issues understanding what I am doing wrong with useSubscription. When changing a subscription variable, data doesn't change state as I would expect. …

thumbsup
0
message-simple
1