From 9cbefc4416a0a8beddda074b33d18928d549cd89 Mon Sep 17 00:00:00 2001 From: huuyafwww Date: Sun, 29 Dec 2024 11:25:36 +0900 Subject: [PATCH] feat: support nullable graphql query --- src/core/handlers/GraphQLHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/handlers/GraphQLHandler.ts b/src/core/handlers/GraphQLHandler.ts index 83cdc58af..a3eac06ad 100644 --- a/src/core/handlers/GraphQLHandler.ts +++ b/src/core/handlers/GraphQLHandler.ts @@ -24,7 +24,7 @@ import { getAllRequestCookies } from '../utils/request/getRequestCookies' export type ExpectedOperationTypeNode = OperationTypeNode | 'all' export type GraphQLHandlerNameSelector = DocumentNode | RegExp | string -export type GraphQLQuery = Record +export type GraphQLQuery = Record | null export type GraphQLVariables = Record export interface GraphQLHandlerInfo extends RequestHandlerDefaultInfo {