use of org.springframework.graphql.execution.GraphQlSource in project spring-graphql by spring-projects.
the class GraphQlSetup method toGraphQlService.
public ExecutionGraphQlService toGraphQlService() {
GraphQlSource source = graphQlSourceBuilder.build();
ExecutionGraphQlService service = new ExecutionGraphQlService(source);
this.dataLoaderRegistrars.forEach(service::addDataLoaderRegistrar);
return service;
}
Aggregations