File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
graphql-java-kickstart/src/main/java/graphql/kickstart/execution Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11package graphql .kickstart .execution ;
22
3+ import static java .util .stream .Collectors .toList ;
4+
35import graphql .ExecutionResult ;
46import graphql .GraphQL ;
57import graphql .kickstart .execution .context .ContextSetting ;
@@ -45,10 +47,7 @@ private List<ExecutionResult> query(List<GraphQLSingleInvocationInput> batchedIn
4547// .configureInstrumentationForContext(getInstrumentation, executionIds, optionsSupplier.get());
4648 return batchedInvocationInput .stream ()
4749 .map (this ::executeAsync )
48- //We want eager eval
49- .collect (Collectors .toList ())
50- .stream ()
5150 .map (CompletableFuture ::join )
52- .collect (Collectors . toList ());
51+ .collect (toList ());
5352 }
5453}
You can’t perform that action at this time.
0 commit comments