File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1515import graphql .execution .instrumentation .fieldvalidation .FieldValidationEnvironment ;
1616import graphql .execution .instrumentation .fieldvalidation .FieldValidationInstrumentation ;
1717import graphql .execution .instrumentation .fieldvalidation .SimpleFieldValidation ;
18+ import graphql .execution .instrumentation .parameters .InstrumentationCreateStateParameters ;
1819import graphql .execution .instrumentation .parameters .InstrumentationExecutionParameters ;
1920import graphql .execution .instrumentation .parameters .InstrumentationFieldFetchParameters ;
2021import graphql .execution .instrumentation .tracing .TracingInstrumentation ;
@@ -64,7 +65,7 @@ void recordTiming(String key, long time) {
6465
6566 class CustomInstrumentation extends SimplePerformantInstrumentation {
6667 @ Override
67- public InstrumentationState createState () {
68+ public @ Nullable InstrumentationState createState (InstrumentationCreateStateParameters parameters ) {
6869 //
6970 // instrumentation state is passed during each invocation of an Instrumentation method
7071 // and allows you to put stateful data away and reference it during the query execution
You can’t perform that action at this time.
0 commit comments