From 5303cf7f6ceeff6ef9395e5ae1d8adac743ad42c Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Tue, 10 Dec 2024 16:50:20 +0200 Subject: [PATCH] update validateInputValue to use renamed method (#4307) --- 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));