gqlgen icon indicating copy to clipboard operation
gqlgen copied to clipboard

Question: What is added to context ?

Open matthieu4294967296moineau opened this issue 1 year ago • 0 comments

Question

When a subscription is made, what keys/values are added to golang context ? How could I get the id of the websocket message sent when in the format {"type":"start","id":"69394682-c51d-4a3e-a1fa-06558bd310b5","payload":{...} ?

Minimal graphql.schema and models to reproduce

Any subscription

versions

  • go run github.com/99designs/gqlgen version --> v0.17.20
  • go version --> go version go1.19.3 darwin/arm64