Class DataFetchersDelegateTListImpl

java.lang.Object
org.allGraphQLCases.server.impl.DataFetchersDelegateTListImpl
All Implemented Interfaces:
DataFetchersDelegateTList

@Component public class DataFetchersDelegateTListImpl extends Object implements DataFetchersDelegateTList
  • Constructor Details

    • DataFetchersDelegateTListImpl

      public DataFetchersDelegateTListImpl()
  • Method Details

    • list

      public List<STP_TFoo1_STS> list(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_TList_STS origin)
      Description copied from interface: DataFetchersDelegateTList
      This method loads the data for TList.list.
      Specified by:
      list in interface DataFetchersDelegateTList
      Parameters:
      dataFetchingEnvironment - The GraphQL DataFetchingEnvironment. It gives you access to the full GraphQL context for this DataFetcher
      origin - The object from which the field is fetch. In other word: the aim of this data fetcher is to fetch the list attribute of the origin, which is an instance of {ObjectType {name:TList, fields:{Field{name:list, type:[TFoo1], params:[]}}, implements IList, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.