| 
1 | 1 | package graphql.kickstart.execution.context;  | 
2 | 2 | 
 
  | 
3 |  | -import graphql.ExecutionInput;  | 
4 |  | -import graphql.execution.ExecutionId;  | 
5 |  | -import graphql.execution.instrumentation.ChainedInstrumentation;  | 
6 |  | -import graphql.execution.instrumentation.Instrumentation;  | 
7 | 3 | import graphql.kickstart.execution.GraphQLRequest;  | 
8 | 4 | import graphql.kickstart.execution.input.GraphQLBatchedInvocationInput;  | 
9 | 5 | import graphql.kickstart.execution.input.PerQueryBatchedInvocationInput;  | 
10 | 6 | import graphql.kickstart.execution.input.PerRequestBatchedInvocationInput;  | 
11 |  | -import graphql.kickstart.execution.instrumentation.FieldLevelTrackingApproach;  | 
12 |  | -import graphql.kickstart.execution.instrumentation.RequestLevelTrackingApproach;  | 
13 | 7 | import graphql.schema.GraphQLSchema;  | 
14 |  | -import java.util.Arrays;  | 
15 | 8 | import java.util.List;  | 
16 | 9 | import java.util.function.Supplier;  | 
17 |  | -import java.util.stream.Collectors;  | 
18 |  | -import org.dataloader.DataLoaderRegistry;  | 
19 | 10 | 
 
  | 
20 | 11 | /**  | 
21 | 12 |  * An enum representing possible context settings. These are modeled after Apollo's link settings.  | 
@@ -54,19 +45,4 @@ public GraphQLBatchedInvocationInput getBatch(  | 
54 | 45 |         throw new ContextSettingNotConfiguredException();  | 
55 | 46 |     }  | 
56 | 47 |   }  | 
57 |  | - | 
58 |  | -  /**  | 
59 |  | -   * Augments the provided instrumentation supplier to also supply the correct dispatching  | 
60 |  | -   * instrumentation.  | 
61 |  | -   *  | 
62 |  | -   * @param instrumentation the instrumentation supplier to augment  | 
63 |  | -   * @param executionInputs the inputs that will be dispatched by the instrumentation  | 
64 |  | -//   * @param options the DataLoader dispatching instrumentation options that will be used.  | 
65 |  | -   * @return augmented instrumentation supplier.  | 
66 |  | -   */  | 
67 |  | -  public Supplier<Instrumentation> configureInstrumentationForContext(  | 
68 |  | -      Supplier<Instrumentation> instrumentation,  | 
69 |  | -      List<ExecutionInput> executionInputs) {  | 
70 |  | -    return instrumentation;  | 
71 |  | -  }  | 
72 | 48 | }  | 
0 commit comments