We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc0de11 commit 9948855Copy full SHA for 9948855
2 files changed
src/graphql.ts
@@ -61,7 +61,7 @@ import type { ExecutionResult } from './execution/types.js';
61
export interface GraphQLArgs {
62
schema: GraphQLSchema;
63
source: string | Source;
64
- maskSuggestions?: boolean;
+ maskSuggestions?: Maybe<boolean>;
65
rootValue?: unknown;
66
contextValue?: unknown;
67
variableValues?: Maybe<{ readonly [variable: string]: unknown }>;
src/utilities/valueFromAST.ts
@@ -148,7 +148,7 @@ export function valueFromAST(
148
// no value is returned.
149
let result;
150
try {
151
- result = type.parseLiteral(valueNode, variables, true);
+ result = type.parseLiteral(valueNode, variables);
152
} catch (_error) {
153
return; // Invalid: intentionally return no value.
154
}
0 commit comments