|
|
@ -40,6 +40,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
import org.springframework.boot.convert.ApplicationConversionService;
|
|
|
|
import org.springframework.boot.convert.ApplicationConversionService;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
|
|
|
import org.springframework.context.annotation.ImportRuntimeHints;
|
|
|
|
import org.springframework.core.io.Resource;
|
|
|
|
import org.springframework.core.io.Resource;
|
|
|
|
import org.springframework.core.io.support.ResourcePatternResolver;
|
|
|
|
import org.springframework.core.io.support.ResourcePatternResolver;
|
|
|
|
import org.springframework.core.log.LogMessage;
|
|
|
|
import org.springframework.core.log.LogMessage;
|
|
|
@ -64,6 +65,7 @@ import org.springframework.graphql.execution.SubscriptionExceptionResolver;
|
|
|
|
@ConditionalOnClass({ GraphQL.class, GraphQlSource.class })
|
|
|
|
@ConditionalOnClass({ GraphQL.class, GraphQlSource.class })
|
|
|
|
@ConditionalOnGraphQlSchema
|
|
|
|
@ConditionalOnGraphQlSchema
|
|
|
|
@EnableConfigurationProperties(GraphQlProperties.class)
|
|
|
|
@EnableConfigurationProperties(GraphQlProperties.class)
|
|
|
|
|
|
|
|
@ImportRuntimeHints(GraphQlAutoConfiguration.GraphQlResourcesRuntimeHints.class)
|
|
|
|
public class GraphQlAutoConfiguration {
|
|
|
|
public class GraphQlAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
private static final Log logger = LogFactory.getLog(GraphQlAutoConfiguration.class);
|
|
|
|
private static final Log logger = LogFactory.getLog(GraphQlAutoConfiguration.class);
|
|
|
|