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
Shouldn't it be allowed to have multiple subscriptions per session, so the subscriptions[session.id] map wouldn't be overridden on subscribing, but rather the new subscription will be added to the inner map?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The current
DgsWebSocketHandler
implementation allows having one subscription per session:dgs-framework/graphql-dgs-subscriptions-websockets/src/main/kotlin/com/netflix/graphql/dgs/subscriptions/websockets/DgsWebSocketHandler.kt
Line 37 in 6fea279
dgs-framework/graphql-dgs-subscriptions-websockets/src/main/kotlin/com/netflix/graphql/dgs/subscriptions/websockets/DgsWebSocketHandler.kt
Lines 97 to 102 in 6fea279
Shouldn't it be allowed to have multiple subscriptions per session, so the
subscriptions[session.id]
map wouldn't be overridden on subscribing, but rather the new subscription will be added to the inner map?Beta Was this translation helpful? Give feedback.
All reactions