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
Martin B
@mbonnin
Jake Dawkins
@jakedawkins
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

query is calling again on subscription

I'm using usequery to to fetch data. As well I'm using subscriberToMore to update cache on subscription but when I update cache then query is calling again. I'm unable to understand why it's happening. Please help me to fix on that issue.

thumbsup
0
message-simple
0

Keep subscriptions active

We are hosting on Heroku. When we start listening it works but if it is inactive for 55 seconds it will disconnect. If I was using a standard WebSocket we would use ws.ping() but not sure about Apollo subscriptions. What is the best way to keep the connection open using Apollo?鈥

thumbsup
0
message-simple
1

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