@@ -29,9 +29,9 @@ export interface FieldDetails {
2929 fragmentVariableValues ?: VariableValues | undefined ;
3030}
3131
32- export type FieldGroup = ReadonlyArray < FieldDetails > ;
32+ export type FieldDetailsList = ReadonlyArray < FieldDetails > ;
3333
34- export type GroupedFieldSet = ReadonlyMap < string , FieldGroup > ;
34+ export type GroupedFieldSet = ReadonlyMap < string , FieldDetailsList > ;
3535
3636export interface FragmentDetails {
3737 definition : FragmentDefinitionNode ;
@@ -90,7 +90,7 @@ export function collectSubfields(
9090 fragments : ObjMap < FragmentDetails > ,
9191 variableValues : VariableValues ,
9292 returnType : GraphQLObjectType ,
93- fieldGroup : FieldGroup ,
93+ fieldDetailsList : FieldDetailsList ,
9494) : GroupedFieldSet {
9595 const context : CollectFieldsContext = {
9696 schema,
@@ -101,7 +101,7 @@ export function collectSubfields(
101101 } ;
102102 const subGroupedFieldSet = new AccumulatorMap < string , FieldDetails > ( ) ;
103103
104- for ( const fieldDetail of fieldGroup ) {
104+ for ( const fieldDetail of fieldDetailsList ) {
105105 const selectionSet = fieldDetail . node . selectionSet ;
106106 if ( selectionSet ) {
107107 const { fragmentVariableValues } = fieldDetail ;
0 commit comments