Skip to content

Commit

Permalink
Update graphql.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorblades authored Jan 3, 2024
1 parent d4032c0 commit 398df27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { createYoga } from "graphql-yoga";
import { schema } from "./schema";

export const yoga = createYoga({ schema });
export const yoga = createYoga({
schema,
batching: true,
});

export default {
fetch: yoga.fetch,
Expand Down

0 comments on commit 398df27

Please sign in to comment.