File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ export function experimentalGetArgumentValues(
226
226
// execution. This is a runtime check to ensure execution does not
227
227
// continue with an invalid argument value.
228
228
throw new GraphQLError (
229
+ // TODO: clean up the naming of isRequiredArgument(), isArgument(), and argDef if/when experimental fragment variables are merged
229
230
`Argument "${ isArgument ( argDef ) ? argDef : argDef . name } " of required type "${ argType } " was not provided.` ,
230
231
{ nodes : node } ,
231
232
) ;
@@ -276,6 +277,7 @@ export function experimentalGetArgumentValues(
276
277
valueNode ,
277
278
argType ,
278
279
( error , path ) => {
280
+ // TODO: clean up the naming of isRequiredArgument(), isArgument(), and argDef if/when experimental fragment variables are merged
279
281
error . message = `Argument "${ isArgument ( argDef ) ? argDef : argDef . name } " has invalid value${ printPathArray (
280
282
path ,
281
283
) } : ${ error . message } `;
You can’t perform that action at this time.
0 commit comments