All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.spring.web.servlet.ExecutionInputCustomizer Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy