We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61279fe commit f2276a9Copy full SHA for f2276a9
examples/graphql-yoga/routes/graphql.ts
@@ -3,12 +3,10 @@ import { fromManifest } from "$fresh_graphql/schema.ts";
3
import { createServer } from "@graphql-yoga/common";
4
import manifest from "../fresh_graphql.gen.ts";
5
6
-const schema = fromManifest(manifest);
7
-
8
const yoga = createServer<HandlerContext>({
9
logging: true,
10
maskedErrors: false,
11
- schema,
+ schema: fromManifest(manifest),
12
});
13
14
export const handler = async (req: Request, ctx: HandlerContext) => {
0 commit comments