@@ -47,7 +47,7 @@ import { GraphQLStreamDirective } from '../type/directives.js';
4747import type { GraphQLSchema } from '../type/schema.js' ;
4848import { assertValidSchema } from '../type/validate.js' ;
4949
50- import type { FieldGroup } from './collectFields.js' ;
50+ import type { FieldGroup , GroupedFieldSet } from './collectFields.js' ;
5151import {
5252 collectFields ,
5353 collectSubfields as _collectSubfields ,
@@ -589,7 +589,7 @@ function executeFieldsSerially(
589589 parentType : GraphQLObjectType ,
590590 sourceValue : unknown ,
591591 path : Path | undefined ,
592- fields : Map < string , FieldGroup > ,
592+ fields : GroupedFieldSet ,
593593) : PromiseOrValue < ObjMap < unknown > > {
594594 return promiseReduce (
595595 fields ,
@@ -627,7 +627,7 @@ function executeFields(
627627 parentType : GraphQLObjectType ,
628628 sourceValue : unknown ,
629629 path : Path | undefined ,
630- fields : Map < string , FieldGroup > ,
630+ fields : GroupedFieldSet ,
631631 asyncPayloadRecord ?: AsyncPayloadRecord ,
632632) : PromiseOrValue < ObjMap < unknown > > {
633633 const results = Object . create ( null ) ;
@@ -1770,7 +1770,7 @@ function executeDeferredFragment(
17701770 exeContext : ExecutionContext ,
17711771 parentType : GraphQLObjectType ,
17721772 sourceValue : unknown ,
1773- fields : Map < string , FieldGroup > ,
1773+ fields : GroupedFieldSet ,
17741774 label ?: string ,
17751775 path ?: Path ,
17761776 parentContext ?: AsyncPayloadRecord ,
0 commit comments