@@ -731,7 +731,7 @@ export function buildResolveInfo(
731731 // The resolve function's optional fourth argument is a collection of
732732 // information about the current execution state.
733733 return {
734- fieldName : fieldNodes [ 0 ] . name . value ,
734+ fieldName : fieldDef . name ,
735735 fieldNodes,
736736 returnType : fieldDef . type ,
737737 parentType,
@@ -1171,7 +1171,6 @@ function completeObjectValue(
11711171 exeContext ,
11721172 returnType ,
11731173 fieldNodes ,
1174- info ,
11751174 path ,
11761175 result ,
11771176 ) ;
@@ -1187,7 +1186,6 @@ function completeObjectValue(
11871186 exeContext ,
11881187 returnType,
11891188 fieldNodes,
1190- info,
11911189 path,
11921190 result,
11931191 ) ;
@@ -1208,7 +1206,6 @@ function collectAndExecuteSubfields(
12081206 exeContext : ExecutionContext ,
12091207 returnType : GraphQLObjectType ,
12101208 fieldNodes : $ReadOnlyArray < FieldNode > ,
1211- info : GraphQLResolveInfo ,
12121209 path : ResponsePath ,
12131210 result : mixed ,
12141211) : MaybePromise < ObjMap < mixed >> {
@@ -1260,7 +1257,7 @@ function defaultResolveTypeFn(
12601257 context : mixed ,
12611258 info : GraphQLResolveInfo ,
12621259 abstractType : GraphQLAbstractType ,
1263- ) : ? GraphQLObjectType | string | Promise < ?GraphQLObjectType | string > {
1260+ ) : MaybePromise < ?GraphQLObjectType | string > {
12641261 // First, look for `__typename`.
12651262 if (
12661263 value !== null &&
0 commit comments