graphql.spring.web.servlet.ExecutionInputCustomizer Maven / Gradle / Ivy
package graphql.spring.web.servlet;
import graphql.ExecutionInput;
import graphql.PublicApi;
import org.springframework.web.context.request.WebRequest;
import java.util.concurrent.CompletableFuture;
/**
* Lets you customize the #ExecutionInput before the query is executed.
* You can for example set a context object or define a root value.
*
* This is only used if you use the default {@link GraphQLInvocation}.
*/
@PublicApi
public interface ExecutionInputCustomizer {
CompletableFuture customizeExecutionInput(ExecutionInput executionInput, WebRequest webRequest);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy