Skip to content

Commit

Permalink
update validateInputValue to use renamed method (#4307)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR authored Dec 10, 2024
1 parent 46f29f4 commit 5303cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/validateInputValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 5303cf7

Please sign in to comment.