Skip to content

BaseQL Context Update

TheLD requested to merge theld/baseql-context-update into master
  • fixed contextManager.runInServerContext not persisting through internal operation calls
  • exposed connection headers to context via context.headers
  • added contextManager.findContext to find contexts by mongo query If a found context is currently active the currently live context will be returned
  • added saveHandler to ClientContext. Callbacks to be executed whenever a context is saved
  • added automatic session termination if a context is saved by a different context
  • added more detailed terminate reasons to the websocket protocol to be able to react to different types of reconnects on the client

Merge request reports