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
support runtimes without TracingChannel.hasSubscribers aggregate
Bun's node:diagnostics_channel ships TracingChannel but does not expose the
aggregate hasSubscribers getter, so a subscriber added via
tracingChannel.subscribe(handlers) is invisible to the previous
?.hasSubscribers gate and graphql-js silently drops every event.
Introduce a shouldTrace helper that trusts the aggregate when present and
falls back to checking each of the five underlying lifecycle channels when
it is undefined. Route every emission gate (parse/validate/execute/
subscribe/resolve) through it.
0 commit comments