From 3cd3fffc22ee0a545576203e8528dbd80f5ad6d8 Mon Sep 17 00:00:00 2001 From: Ly Tuan Kiet Date: Sat, 2 Nov 2024 16:49:17 +0700 Subject: [PATCH] properly return graphql context --- src/Graphql/graphql.module.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Graphql/graphql.module.ts b/src/Graphql/graphql.module.ts index bf3e77f..87d235f 100644 --- a/src/Graphql/graphql.module.ts +++ b/src/Graphql/graphql.module.ts @@ -108,7 +108,6 @@ import { isSubscription } from 'rxjs/internal/Subscription' me: await graphqlService.acquireContext( extra.request.headers['x-session-id'], ), - generator: extra.schemaBuilder, }, } } @@ -119,7 +118,6 @@ import { isSubscription } from 'rxjs/internal/Subscription' me: req ? await graphqlService.acquireContext(req) : null, pubSub: pubsub, invalidateCache: () => Promise.resolve(), - generator: extra.schemaBuilder, }, } },