Skip to main content

SSE_RESULT_FIELD

@forge/monorepo


@forge/monorepo / backend/src / SSE_RESULT_FIELD

Variable: SSE_RESULT_FIELD

const SSE_RESULT_FIELD: "runEvents" = "runEvents"

Defined in: backend/src/graphql/sse.ts:21

The GraphQL field the frames are shaped for.

Hard-coded to match the SDL's runEvents subscription, because that is the selection a client made. A client that aliased the field would look for its alias and not find it — see the open question on #111; the adapter has no way to know the alias.