MCPcopy
hub / github.com/webiny/webiny-js / createGraphQLHandler.ts

File createGraphQLHandler.ts

packages/handler-graphql/src/createGraphQLHandler.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { toBoolean } from "@webiny/stdlib";
2import type { GraphQLSchema } from "graphql";
3import type { Context } from "@webiny/handler";
4import { RoutePlugin } from "@webiny/handler";

Callers

nothing calls this directly

Calls 11

processRequestBodyFunction · 0.85
headersMethod · 0.80
codeMethod · 0.80
createCacheKeyFunction · 0.70
createGraphQLSchemaFunction · 0.70
formatErrorPayloadFunction · 0.70
createRequestBodyFunction · 0.70
sendMethod · 0.65
errorMethod · 0.65
warnMethod · 0.65
statusMethod · 0.45

Tested by

no test coverage detected