menu
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 Platform
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
Posts
Members
Info

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
1

Update Query "prev" is undefined

Hi, I'm trying to debug an issue with a subscription We have code similar to below...and we are trying to update the previous query (basically replace it with new content). But the previous query is undefined. We are trying to figure out where to look as to why prev might be…

thumbsup
0
message-simple
2

Authentication with subscriptions

Hey guys, I've got a MERN application along with GraphQL and Apollo Server. It's a notes application where every user has his own personal set of notes. What I want to achieve is that a user subscribes to the 'newNote' event, but I want him only to receive the notes he creates,…

thumbsup
0
message-simple
8

has anybody got apollo-server + subscriptions working in AWS Lambda?

I found this library: https://github.com/michalkvasnicak/aws-lambda-graphql but it seems kind of half-baked, and doesn't play super-well with the rest of the Apollo server stack. If AWS Lambda is the wrong approach, does anybody have an idea how best to deploy apollo…

thumbsup
1
message-simple
7

Subscriptions in a serverless context

Hello everyone! Im a beginner at graphql and need to implement a client that listens to an Apollo server, there is one subscription that my client will need to react to. If I understand correctly, a subscription is a pub/sub mechanism, and that requires my client to be active…

thumbsup
1
message-simple
3

Subscriptions requiring page refresh before messages return

Hey there, I'm having an issue with my subscriptions requiring a page refresh before the websocket connection is established and messages start coming through. Here's my server code: Here's my client code: …

thumbsup
0
message-simple
2

Subscription being stop after message with error is received

Is this intended behaviour? Whenever one message in a subscription has an error (like a non-nullable field being resolve to null), the subscription is stopped and I don't know how to re-open it.

thumbsup
0
message-simple
0

subscribeToMore and useQuery returning different values despite the proper…

When using subscribeToMore of useQuery, I expect the returned value from subscribeToMore to be the same as the returned value from useQuery, but getting different values. I want to query only the "friend follow requests" with a PENDING status. On the initial mount, useQuery…

thumbsup
1
message-simple
2

Subscription server issue/question

The subscription server that Apollo uses is an instance of the WebSocket.Server. Since we have other websocket need/requirements, we would like to use multiple websocket servers. The websocket library supports this "Multiple servers sharing a single HTTP/S server"…

thumbsup
0
message-simple
0

Subscriptions return null

Hello, I have been stumped on this for days. Main issue: Subscriptions work well with graphiql, but when the mutation the sub is listening to is fired client side, the data object remains null with no errors in the console. I have tried to refactor my client, and now am getting…

thumbsup
0
message-simple
0