@Component public class GraphQLProvider extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.logging.log4j.Logger |
logger
The logger for this instance
|
| Constructor and Description |
|---|
GraphQLProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.dataloader.DataLoaderRegistry |
dataLoaderRegistry()
The
DataLoaderRegistry will be autowired by Spring in the GraphQL Java Spring Boot framework. |
graphql.GraphQL |
graphQL() |
void |
init() |
@Bean public graphql.GraphQL graphQL()
@Bean public org.dataloader.DataLoaderRegistry dataLoaderRegistry()
DataLoaderRegistry will be autowired by Spring in the GraphQL Java Spring Boot framework. It will
then be wired for each request execution, as specified in this page:
graphql-java batching@PostConstruct public void init() throws IOException
IOExceptionCopyright © 2019. All rights reserved.