diff --git a/src/utilities/validateInputValue.ts b/src/utilities/validateInputValue.ts index 8f2b8480ba..4a22710b95 100644 --- a/src/utilities/validateInputValue.ts +++ b/src/utilities/validateInputValue.ts @@ -185,7 +185,7 @@ function validateInputValueImpl( let caughtError; try { - result = type.parseValue(inputValue, hideSuggestions); + result = type.coerceInputValue(inputValue, hideSuggestions); } catch (error) { if (error instanceof GraphQLError) { onError(error, pathToArray(path));