Class ActivitiGraphQLAutoConfiguration.DefaultActivitiGraphQLJpaConfiguration
java.lang.Object
org.activiti.cloud.services.graphql.autoconfigure.ActivitiGraphQLAutoConfiguration.DefaultActivitiGraphQLJpaConfiguration
- Enclosing class:
ActivitiGraphQLAutoConfiguration
@Configuration
public static class ActivitiGraphQLAutoConfiguration.DefaultActivitiGraphQLJpaConfiguration
extends Object
Provides default configuration of Activiti GraphQL JPA Query Components
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) This is needed because the graphql spec says that null values should be presentcom.introproventures.graphql.jpa.query.schema.GraphQLExecutorgraphQLExecutor(graphql.schema.GraphQLSchema querySchema)
-
Constructor Details
-
DefaultActivitiGraphQLJpaConfiguration
public DefaultActivitiGraphQLJpaConfiguration()
-
-
Method Details
-
configureObjectMapper
@Autowired public void configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) This is needed because the graphql spec says that null values should be present -
graphQLExecutor
@Bean @ConditionalOnMissingBean(com.introproventures.graphql.jpa.query.schema.GraphQLExecutor.class) public com.introproventures.graphql.jpa.query.schema.GraphQLExecutor graphQLExecutor(graphql.schema.GraphQLSchema querySchema)
-