Package io.jmix.graphql
Class GraphQLConfiguration
java.lang.Object
io.jmix.graphql.GraphQLConfiguration
@Configuration
@ComponentScan
@ConfigurationPropertiesScan
@PropertySource(name="io.jmix.graphql",
value="classpath:/io/jmix/graphql/module.properties")
public class GraphQLConfiguration
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
protected static class
protected static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected final org.springframework.context.ConfigurableApplicationContext
protected JmixTypeInfoGenerator
protected LimitationProperties
protected Messages
protected MessagesDataFetcher
protected OperationRateLimitService
protected PermissionDataFetcher
protected ScalarTypes
-
Constructor Summary
ConstructorDescriptionGraphQLConfiguration
(org.springframework.context.ConfigurableApplicationContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOperationSources
(SpqrSchemaGenerator schemaGenerator, Collection<GraphQLConfiguration.SpqrBean> spqrBeans) protected Map<String,
GraphQLConfiguration.SpqrBean> protected <T> T
findQualifiedBeanByType
(Class<? extends T> type, String qualifierValue, Class<? extends Annotation> qualifierType) graphql.schema.GraphQLSchema
graphQLSchema
(SpqrSchemaGenerator generator) graphQLSchemaGenerator
(io.leangen.graphql.spqr.spring.autoconfigure.SpqrProperties spqrProperties) List<graphql.execution.instrumentation.Instrumentation>
org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer
-
Field Details
-
context
protected final org.springframework.context.ConfigurableApplicationContext context -
permissionDataFetcher
-
messagesDataFetcher
-
operationRateLimitService
-
accessManager
-
limitationProperties
-
messages
-
jmixTypeInfoGenerator
-
scalarTypes
-
-
Constructor Details
-
GraphQLConfiguration
@Autowired public GraphQLConfiguration(org.springframework.context.ConfigurableApplicationContext context)
-
-
Method Details
-
instrumentationList
-
jacksonCustomizer
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jacksonCustomizer() -
graphQLSchema
-
graphQLSchemaGenerator
@Bean @Primary public SpqrSchemaGenerator graphQLSchemaGenerator(io.leangen.graphql.spqr.spring.autoconfigure.SpqrProperties spqrProperties) -
findGraphQLApiComponents
-
addOperationSources
protected void addOperationSources(SpqrSchemaGenerator schemaGenerator, Collection<GraphQLConfiguration.SpqrBean> spqrBeans) -
findQualifiedBeanByType
protected <T> T findQualifiedBeanByType(Class<? extends T> type, String qualifierValue, Class<? extends Annotation> qualifierType)
-