public interface DataFetchersDelegateIFoo140
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the IFoo140 GraphQL type, as defined in the provided GraphQL schema. Please read the wiki server page for more information on this.
Author:
generated by graphql-java-generator
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Map<IFoo140,IBar140>>
    bar(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<IFoo140> keys)
    This methods loads the data for ${dataFetcher.graphQLType}.bar.
  • Method Details

    • bar

      reactor.core.publisher.Mono<Map<IFoo140,IBar140>> bar(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<IFoo140> keys)
      This methods loads the data for ${dataFetcher.graphQLType}.bar. 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 bar 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