You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pleerock what do you think is the best way to handle this in Vesper not only for authentication but also other possible cases when we need to pass something into context in subscription?
The text was updated successfully, but these errors were encountered:
In https://www.apollographql.com/docs/graphql-subscriptions/authentication.html, apollo suggests to use
onConnect
param to pass context specific data e.g. authenticating user over websocket. However, currently Vesper doesn't have a way to do that as theSubscriptionServer
created by Vesper doesn't take any params to customiseonConnect
param.@pleerock what do you think is the best way to handle this in Vesper not only for authentication but also other possible cases when we need to pass something into context in subscription?
The text was updated successfully, but these errors were encountered: