public interface DataFetchersDelegateCommented
This interface contains the fata fetchers that are delegated in the bean that the implementation has to provide, when fetching fields for the Commented 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
    comments(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<Commented> keys)
    This methods loads the data for ${dataFetcher.graphQLType}.comments.
  • Method Details

    • comments

      Map<Commented,String> comments(org.dataloader.BatchLoaderEnvironment batchLoaderEnvironment, graphql.GraphQLContext graphQLContext, List<Commented> keys)
      This methods loads the data for ${dataFetcher.graphQLType}.comments. 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 comments 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