We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e614f8f commit 28f0bf2Copy full SHA for 28f0bf2
src/utilities/valueFromAST.ts
@@ -167,7 +167,10 @@ export function valueFromAST(
167
// no value is returned.
168
let result;
169
try {
170
- result = type.parseLiteral(valueNode, variables);
+ result = type.parseLiteral(
171
+ valueNode,
172
+ fragmentVariables ? { ...variables, ...fragmentVariables } : variables,
173
+ );
174
} catch (_error) {
175
return; // Invalid: intentionally return no value.
176
}
0 commit comments