menu
Channels
Team
Posts
Members
Info

Apollo Server subscription always return undefined user property

I'm using subscription to get the most recent tweets that other users created, the server seems to be setup correct, however once I try to access the subscription on graphiql, it always spits out undefined user property ( who actually created this tweet ), I tried to remove user…

thumbsup
0
message-simple
16

Does subscriptions have any performance issues on an app

I have this streaming website, where i want to update the links of external streaming iFrames(eg: Twitch or YouTube), the links to those streams are not stable, and i want to be able to change them on the fly, i want to achieve that through subscriptions. so, would this approach…

thumbsup
0
message-simple
3
andrao·23d

Subscriptions: Race condition? Query data updating before subscribeToMore()

Hi all – I've been encountering a strange issue with a <Query> and its child subscriptions, whereby on reception of a subscription payload, the <Query> data is updating before the subscribeToMore() function is called. A rough schematic: …

thumbsup
1
message-simple
19

apollo-server-restify does not mention anything about subscription handling

Please guide me on how to get the subscriptions sorted out for restify server, (FYI, i was able to make subscriptions working for express but not restify). Seeking some help here.

thumbsup
0
message-simple
0

How to test component with subscribeToMore?

I am using MockedProvider for testing a component. When using subscribeToMore from the Query I always get: My Query component here: How can I fix this? Please help. Thanks

thumbsup
0
message-simple
0

Subscribing to updates using React Apollo?

Hi, I have an update mutation that uses GraphQL Yoga's built-in PubSub() for handling subscriptions. I can't find a single example online of the implementation of subscriptions that sync an update of a given document, not an insertion.

thumbsup
0
message-simple
0
Deleted·36d

Can subscriptions be nested?

I have a component that needs to subscribe to two different data sources.

thumbsup
0
message-simple
4

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
0

A subscription per user

I am trying to figure out if it is possible/best practice to have a subscription per user. The use case for us is a pod cast app that allows users to create their own account and we track data per user (favorite episodes, marked as listen, current player position). This is…

thumbsup
1
message-simple
2

Remote schema stitching with subscriptions ECONNRESET

We got a minimal node application running ApolloServer which is just a proxy to join all other GraphQL servers. For some reason are we getting: error request to https://ANY_OTHER_GRAPHQL_SERVER/graphql failed, reason: read ECONNRESET …

thumbsup
0
message-simple
0