java.lang.Object
org.junittest.allgraphqlcases_server_springconfiguration_util_batchmapping_flux.util.IListController

@Controller @SchemaMapping(typeName="IList") public class IListController extends Object
Author:
generated by graphql-java-generator
See Also:
  • Field Details

    • dataFetchersDelegateIList

      @Autowired protected DataFetchersDelegateIList dataFetchersDelegateIList
    • graphqlServerUtils

      @Autowired protected com.graphql_java_generator.server.util.GraphqlServerUtils graphqlServerUtils
  • Constructor Details

    • IListController

      public IListController()
  • Method Details

    • list

      @BatchMapping(field="list") public reactor.core.publisher.Flux<IFoo1> list(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<IList> keys)
      This methods loads the data for ${dataFetcher.graphQLType}.list. It is generated as the generateBatchMappingDataFetchers plugin parameter is true.
      Parameters:
      batchLoaderEnvironment - The environement for this batch loaded. You can extract the GraphQLContext from this parameter.
      graphQLContext -
      keys - The objects for which the value for the list field must be retrieved.
      Returns:
      This method returns ${dataFetcher.batchMappingReturnType.value}, as defined by the batchMappingDataFetcherReturnType plugin parameter.
      Please look at the spring-graphql annotation for a documentation on how to return the proper values