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
  • Field Details

    • context

      protected final org.springframework.context.ConfigurableApplicationContext context
    • permissionDataFetcher

      @Autowired protected PermissionDataFetcher permissionDataFetcher
    • messagesDataFetcher

      @Autowired protected MessagesDataFetcher messagesDataFetcher
    • operationRateLimitService

      @Autowired protected OperationRateLimitService operationRateLimitService
    • accessManager

      @Autowired protected AccessManager accessManager
    • limitationProperties

      @Autowired protected LimitationProperties limitationProperties
    • messages

      @Autowired protected Messages messages
    • jmixTypeInfoGenerator

      @Autowired protected JmixTypeInfoGenerator jmixTypeInfoGenerator
    • scalarTypes

      @Autowired protected ScalarTypes scalarTypes
  • Constructor Details

    • GraphQLConfiguration

      @Autowired public GraphQLConfiguration(org.springframework.context.ConfigurableApplicationContext context)
  • Method Details

    • instrumentationList

      @Bean public List<graphql.execution.instrumentation.Instrumentation> instrumentationList()
    • jacksonCustomizer

      @Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jacksonCustomizer()
    • graphQLSchema

      @Bean public graphql.schema.GraphQLSchema graphQLSchema(SpqrSchemaGenerator generator)
    • graphQLSchemaGenerator

      @Bean @Primary public SpqrSchemaGenerator graphQLSchemaGenerator(io.leangen.graphql.spqr.spring.autoconfigure.SpqrProperties spqrProperties)
    • findGraphQLApiComponents

      protected Map<String,GraphQLConfiguration.SpqrBean> 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)