File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -802,7 +802,7 @@ async function completeAsyncIteratorValue(
802802 fieldGroup : FieldGroup ,
803803 info : GraphQLResolveInfo ,
804804 path : Path ,
805- iterator : AsyncIterator < unknown > ,
805+ asyncIterator : AsyncIterator < unknown > ,
806806) : Promise < ReadonlyArray < unknown > > {
807807 let containsPromise = false ;
808808 const completedResults : Array < unknown > = [ ] ;
@@ -813,7 +813,7 @@ async function completeAsyncIteratorValue(
813813 let iteration ;
814814 try {
815815 // eslint-disable-next-line no-await-in-loop
816- iteration = await iterator . next ( ) ;
816+ iteration = await asyncIterator . next ( ) ;
817817 if ( iteration . done ) {
818818 break ;
819819 }
@@ -856,15 +856,15 @@ function completeListValue(
856856 const itemType = returnType . ofType ;
857857
858858 if ( isAsyncIterable ( result ) ) {
859- const iterator = result [ Symbol . asyncIterator ] ( ) ;
859+ const asyncIterator = result [ Symbol . asyncIterator ] ( ) ;
860860
861861 return completeAsyncIteratorValue (
862862 exeContext ,
863863 itemType ,
864864 fieldGroup ,
865865 info ,
866866 path ,
867- iterator ,
867+ asyncIterator ,
868868 ) ;
869869 }
870870
You can’t perform that action at this time.
0 commit comments