Skip to content

Commit 43992e3

Browse files
committed
Remove unused function parameters
1 parent 533fc43 commit 43992e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/execution/execute.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ function completeValue(
707707
// returning null if serialization is not possible.
708708
if (returnType instanceof GraphQLScalarType ||
709709
returnType instanceof GraphQLEnumType) {
710-
return completeLeafValue(exeContext, returnType, fieldASTs, info, result);
710+
return completeLeafValue(returnType, result);
711711
}
712712

713713
// If field type is an abstract type, Interface or Union, determine the
@@ -779,10 +779,7 @@ function completeListValue(
779779
* null if serialization is not possible.
780780
*/
781781
function completeLeafValue(
782-
exeContext: ExecutionContext,
783782
returnType: GraphQLLeafType,
784-
fieldASTs: Array<Field>,
785-
info: GraphQLResolveInfo,
786783
result: mixed
787784
): mixed {
788785
invariant(returnType.serialize, 'Missing serialize method on type');

0 commit comments

Comments
 (0)