-
@Configuration()@EnableConfigurationProperties(value = {GraphQLConfigurationProperties.class})@Import(value = {JacksonAutoConfiguration.class}) public final class GraphQLExecutionConfiguration
The root configuration class that other configurations can import to get the basic beans required to then create an exetuable GraphQL schema object.
-
-
Constructor Summary
Constructors Constructor Description GraphQLExecutionConfiguration()
-
Method Summary
Modifier and Type Method Description final KotlinDataFetcherFactoryProvider
dataFetcherFactoryProvider(ObjectMapper objectMapper, ApplicationContext applicationContext)
final DataFetcherExceptionHandler
exceptionHandler()
final DataLoaderRegistryFactory
dataLoaderRegistryFactory(Optional<List<KotlinDataLoader<?, ?>>> dataLoaders)
-
-
Method Detail
-
dataFetcherFactoryProvider
@Bean()@ConditionalOnMissingBean() final KotlinDataFetcherFactoryProvider dataFetcherFactoryProvider(ObjectMapper objectMapper, ApplicationContext applicationContext)
-
exceptionHandler
@Bean()@ConditionalOnMissingBean() final DataFetcherExceptionHandler exceptionHandler()
-
dataLoaderRegistryFactory
@Bean()@ConditionalOnMissingBean() final DataLoaderRegistryFactory dataLoaderRegistryFactory(Optional<List<KotlinDataLoader<?, ?>>> dataLoaders)
-
-
-
-