From 1c28821a3e1233e3bfb8e9c193e35137361dee57 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Wed, 4 Dec 2024 22:28:21 +0200 Subject: [PATCH] update validateInputValue to use renamed method --- src/utilities/validateInputValue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));