Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kriasoft/graphql-starter-kit
/ context
Function
context
server/index.ts:16–19 ·
view source on GitHub ↗
({ request })
Source
from the content-addressed store, hash-verified
14
const
yoga = createYoga({
15
schema,
16
async
context({ request }) {
17
const
token =
await
getIdToken(request);
18
return
{ token };
19
},
20
});
21
22
/**
Callers
nothing calls this directly
Calls
1
getIdToken
Function · 0.90
Tested by
no test coverage detected