@@ -47,7 +47,7 @@ import { GraphQLStreamDirective } from '../type/directives.js';
47
47
import type { GraphQLSchema } from '../type/schema.js' ;
48
48
import { assertValidSchema } from '../type/validate.js' ;
49
49
50
- import type { FieldGroup } from './collectFields.js' ;
50
+ import type { FieldGroup , GroupedFieldSet } from './collectFields.js' ;
51
51
import {
52
52
collectFields ,
53
53
collectSubfields as _collectSubfields ,
@@ -589,7 +589,7 @@ function executeFieldsSerially(
589
589
parentType : GraphQLObjectType ,
590
590
sourceValue : unknown ,
591
591
path : Path | undefined ,
592
- fields : Map < string , FieldGroup > ,
592
+ fields : GroupedFieldSet ,
593
593
) : PromiseOrValue < ObjMap < unknown > > {
594
594
return promiseReduce (
595
595
fields ,
@@ -627,7 +627,7 @@ function executeFields(
627
627
parentType : GraphQLObjectType ,
628
628
sourceValue : unknown ,
629
629
path : Path | undefined ,
630
- fields : Map < string , FieldGroup > ,
630
+ fields : GroupedFieldSet ,
631
631
asyncPayloadRecord ?: AsyncPayloadRecord ,
632
632
) : PromiseOrValue < ObjMap < unknown > > {
633
633
const results = Object . create ( null ) ;
@@ -1770,7 +1770,7 @@ function executeDeferredFragment(
1770
1770
exeContext : ExecutionContext ,
1771
1771
parentType : GraphQLObjectType ,
1772
1772
sourceValue : unknown ,
1773
- fields : Map < string , FieldGroup > ,
1773
+ fields : GroupedFieldSet ,
1774
1774
label ?: string ,
1775
1775
path ?: Path ,
1776
1776
parentContext ?: AsyncPayloadRecord ,
0 commit comments