public interface IGQLExecutorCallback
GQLExecutor to provide hooks
before and after a query/mutation execution| Modifier and Type | Method and Description |
|---|---|
default void |
onAfterExecute(GQLExecutionContext executionContext,
graphql.ExecutionInput executionInput,
GQLExecutionResult executionResult)
Callback after execution
|
default void |
onBeforeExecute(GQLExecutionContext executionContext,
graphql.ExecutionInput executionInput)
Callback before execution
|
default void onBeforeExecute(GQLExecutionContext executionContext, graphql.ExecutionInput executionInput)
executionContext - the GQLExecutionContextexecutionInput - the ExecutionInputdefault void onAfterExecute(GQLExecutionContext executionContext, graphql.ExecutionInput executionInput, GQLExecutionResult executionResult)
executionContext - the GQLExecutionContextexecutionInput - the ExecutionInputexecutionResult - the GQLExecutionResultCopyright © 2019–2020. All rights reserved.