File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 } `;
You can’t perform that action at this time.
0 commit comments