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
I am trying to use websocket for both subscriptions and query, using the DataFetchingEnvironment to get my user Principal by doing env.context.session.userPrincipal.
The ApolloSubscriptionProtocolHandler handle this in the createInvocationInput method, we should to this as well in the FallbackSubscriptionProtocolHandler so even if is not a subscription query the websocket session is available for authentication or any other use case related to the have the WSSession in the env.context