public interface GraphQLExecutionInputCustomizer
ExecutionInput.
A custom implementation can be provided to transform the execution input to e.g. set a context or root object.ExecutionInput.transform(java.util.function.Consumer)| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<graphql.ExecutionInput> |
customize(graphql.ExecutionInput executionInput,
io.micronaut.http.HttpRequest httpRequest,
io.micronaut.http.MutableHttpResponse<java.lang.String> httpResponse)
Customizes the GraphQL execution input.
|
org.reactivestreams.Publisher<graphql.ExecutionInput> customize(graphql.ExecutionInput executionInput,
io.micronaut.http.HttpRequest httpRequest,
@Nullable
io.micronaut.http.MutableHttpResponse<java.lang.String> httpResponse)
executionInput - the execution inputhttpRequest - the HTTP requesthttpResponse - the mutable HTTP response, can be null when using websocket