File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ async function completeAsyncIteratorValue(
763763 fieldGroup : FieldGroup ,
764764 info : GraphQLResolveInfo ,
765765 path : Path ,
766- iterator : AsyncIterator < unknown > ,
766+ asyncIterator : AsyncIterator < unknown > ,
767767) : Promise < ReadonlyArray < unknown > > {
768768 let containsPromise = false ;
769769 const completedResults : Array < unknown > = [ ] ;
@@ -774,7 +774,7 @@ async function completeAsyncIteratorValue(
774774 let iteration ;
775775 try {
776776 // eslint-disable-next-line no-await-in-loop
777- iteration = await iterator . next ( ) ;
777+ iteration = await asyncIterator . next ( ) ;
778778 if ( iteration . done ) {
779779 break ;
780780 }
@@ -817,15 +817,15 @@ function completeListValue(
817817 const itemType = returnType . ofType ;
818818
819819 if ( isAsyncIterable ( result ) ) {
820- const iterator = result [ Symbol . asyncIterator ] ( ) ;
820+ const asyncIterator = result [ Symbol . asyncIterator ] ( ) ;
821821
822822 return completeAsyncIteratorValue (
823823 exeContext ,
824824 itemType ,
825825 fieldGroup ,
826826 info ,
827827 path ,
828- iterator ,
828+ asyncIterator ,
829829 ) ;
830830 }
831831
You can’t perform that action at this time.
0 commit comments