|
|
|
@ -41,7 +41,6 @@ import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
|
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
import org.springframework.core.io.ResourceLoader;
|
|
|
|
|
import org.springframework.core.log.LogMessage;
|
|
|
|
|
import org.springframework.graphql.GraphQlService;
|
|
|
|
|
import org.springframework.graphql.execution.GraphQlSource;
|
|
|
|
@ -106,7 +105,7 @@ public class GraphQlWebMvcAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
public RouterFunction<ServerResponse> graphQlRouterFunction(GraphQlHttpHandler httpHandler,
|
|
|
|
|
GraphQlSource graphQlSource, GraphQlProperties properties, ResourceLoader resourceLoader) {
|
|
|
|
|
GraphQlSource graphQlSource, GraphQlProperties properties) {
|
|
|
|
|
String path = properties.getPath();
|
|
|
|
|
logger.info(LogMessage.format("GraphQL endpoint HTTP POST %s", path));
|
|
|
|
|
RouterFunctions.Builder builder = RouterFunctions.route();
|
|
|
|
|