@Configuration
@ConditionalOnProperty(value="graphql.schema-strategy",
havingValue="ANNOTATIONS")
@EnableConfigurationProperties(value=GraphQLAnnotationsProperties.class)
public class GraphQLAnnotationsAutoConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
GraphQLAnnotationsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
graphql.annotations.processor.GraphQLAnnotations |
graphQLAnnotations() |
GraphQLInterfaceTypeResolver |
graphQLInterfaceTypeResolver() |
graphql.schema.GraphQLSchema |
graphQLSchema(graphql.annotations.processor.GraphQLAnnotations graphQLAnnotations) |
@Bean public GraphQLInterfaceTypeResolver graphQLInterfaceTypeResolver()
@Bean @ConditionalOnMissingBean public graphql.annotations.processor.GraphQLAnnotations graphQLAnnotations()
@Bean public graphql.schema.GraphQLSchema graphQLSchema(graphql.annotations.processor.GraphQLAnnotations graphQLAnnotations)