Skip to content

Commit

Permalink
update validateInputValue to use renamed method
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Dec 4, 2024
1 parent 3ad80e4 commit 1c28821
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 1c28821

Please sign in to comment.