Skip to content

Commit 1d5b240

Browse files
committed
review feedback
Co-authored-by: Jovi De Croock <[email protected]>"
1 parent ecbaa78 commit 1d5b240

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/execution/values.ts

+2
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export function experimentalGetArgumentValues(
226226
// execution. This is a runtime check to ensure execution does not
227227
// continue with an invalid argument value.
228228
throw new GraphQLError(
229+
// TODO: clean up the naming of isRequiredArgument(), isArgument(), and argDef if/when experimental fragment variables are merged
229230
`Argument "${isArgument(argDef) ? argDef : argDef.name}" of required type "${argType}" was not provided.`,
230231
{ nodes: node },
231232
);
@@ -276,6 +277,7 @@ export function experimentalGetArgumentValues(
276277
valueNode,
277278
argType,
278279
(error, path) => {
280+
// TODO: clean up the naming of isRequiredArgument(), isArgument(), and argDef if/when experimental fragment variables are merged
279281
error.message = `Argument "${isArgument(argDef) ? argDef : argDef.name}" has invalid value${printPathArray(
280282
path,
281283
)}: ${error.message}`;

0 commit comments

Comments
 (0)