Skip to content

Commit

Permalink
feat: support nullable graphql query
Browse files Browse the repository at this point in the history
  • Loading branch information
huuyafwww committed Dec 29, 2024
1 parent e3234fd commit 9cbefc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/handlers/GraphQLHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any>
export type GraphQLQuery = Record<string, any> | null
export type GraphQLVariables = Record<string, any>

export interface GraphQLHandlerInfo extends RequestHandlerDefaultInfo {
Expand Down

0 comments on commit 9cbefc4

Please sign in to comment.