File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,13 +162,13 @@ foreach (var page in graphqlPages)
162162}
163163
164164// Gather All results for all the pages...
165- var allResults = allResultPages .SelectMany (p => p );
165+ var allResults = graphqlPages .SelectMany (p => p );
166166```
167167
168168#### Stream All Cursor based Page results (netstandard2.1)...
169169``` csharp
170170// Returns an IAsyncEnumerable<IGraphQLConnectionResults<TResult>>
171- var graphqlPages = await graphqlResponse .ReceiveGraphQLConnectionPagesAsyncEnumerable <StarWarsCharacter >();
171+ var pagesAsyncEnumerable = graphqlResponse .ReceiveGraphQLConnectionPagesAsyncEnumerable <StarWarsCharacter >();
172172
173173// Stream the pages...
174174// NOTE: Using this process to store the resulting page data to a Repository/DB would be done in
@@ -226,13 +226,13 @@ foreach (var page in graphqlPages)
226226}
227227
228228// Gather All results for all the pages...
229- var allResults = allResultPages .SelectMany (p => p );
229+ var allResults = graphqlPages .SelectMany (p => p );
230230```
231231
232232#### Stream All Offset based Page results (netstandard2.1)...
233233``` csharp
234234// Returns an IAsyncEnumerable<IGraphQLCollectionSegmentResults<TResult>>
235- var graphqlPages = await graphqlResponse .ReceiveGraphQLCollectionSegmentPagesAsyncEnumerable <StarWarsCharacter >();
235+ var pagesAsyncEnumerable = graphqlResponse .ReceiveGraphQLCollectionSegmentPagesAsyncEnumerable <StarWarsCharacter >();
236236
237237// Stream the pages...
238238// NOTE: Using this process to store the resulting page data to a Repository/DB would be done in
You can’t perform that action at this time.
0 commit comments