Replies: 1 comment
-
Can you share a reproduction or a sandbox that I can run locally? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a apollo resovler to connect a user to a sesion:
When this resolves a user is successfully connected to a session and the
publish
is also fired.But the
userJoinedSession
subscription doesn't work as expected:As you can see in the logs below the
payload
does have the info regarding the joined session, but thevariables
value is an empty object.The Apollo docs state:
So it looks like no arguments are provided when this subscription is initiated, but the docs don't go in depth into how this should be done.
The goal of the code is to only show a notification to users who are connected to the session a new user joined.
Beta Was this translation helpful? Give feedback.
All reactions