File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed
Cosmos.GraphQL.Service/Cosmos.GraphQL.Service Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -115,19 +115,8 @@ public async Task<IEnumerable<JsonDocument>> ExecuteListAsync(string graphQLQuer
115115 var querySpec = new QueryDefinition ( resolver . parametrizedQuery ) ;
116116 var queryRequestOptions = new QueryRequestOptions ( ) ;
117117 string requestContinuation = null ;
118- string responseContinuation = null ;
119- if ( parameters . TryGetValue ( "first" , out object maxSize ) )
120- {
121- queryRequestOptions . MaxItemCount = maxSize as int ? ;
122- }
123118
124- if ( parameters . TryGetValue ( "after" , out object after ) )
125- {
126- requestContinuation = after as string ;
127- }
128-
129-
130- if ( parameters != null )
119+ if ( parameters != null )
131120 {
132121 foreach ( var parameterEntry in parameters )
133122 {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public async Task InvokeAsync(IMiddlewareContext context)
6666
6767 if ( IsInnerObject ( context ) )
6868 {
69-
69+
7070 if ( result != null && hasProperty )
7171 {
7272 //TODO: Try to avoid additional deserialization/serialization here.
@@ -116,7 +116,7 @@ public async Task InvokeAsync(IMiddlewareContext context)
116116
117117 private static bool IsContinuationQuery ( IDictionary < string , object > parameters )
118118 {
119- if ( parameters . ContainsKey ( "after" ) )
119+ if ( parameters . ContainsKey ( "after" ) )
120120 {
121121 return true ;
122122 }
You can’t perform that action at this time.
0 commit comments