MCPcopy
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

14const 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

getIdTokenFunction · 0.90

Tested by

no test coverage detected