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
Adam Zionts
@zionts
Danielle Man
@daniman
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Chang Wang
@cheapsteak
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

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

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
1

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

Discovering/monitoring subscribers, and SubscriptionServer events

I have subscriptions on my ApolloServer implementation. So far I'm only able to see who is subscribed to what within the resolvers, yet these are only invoked if a 'post' [e.g. mutation] occurs. Is there some way to access info about subscribers from within the core of the…

thumbsup
1
message-simple
1

Subscription stop then start

Hi, I am using apollo client(v3.2.1) in a react application. I have configured the client with the following links as instructed at https://www.apollographql.com/docs/react/data/subscriptions/#3-use-different-transports-for-different-operations I have a subscription set up with…

thumbsup
0
message-simple
0

Websocket link don't fire any of this events!

Websocket link don't fire any of this events, but subscriptions work as intended. What am i missing? const wsLink = new WebSocketLink({ uri: http://51.38.71.71:8850/graphql, …

thumbsup
0
message-simple
0

Subscription not working on EC2 Server

Hi, I need urgent help p, please. My apollo subscription is working in a Local server but when I tried to start Subscription from the staging server, I am getting this error.

thumbsup
0
message-simple
1