Class DataFetchersDelegateIListImpl

All Implemented Interfaces:

@Component public class DataFetchersDelegateIListImpl extends Object implements DataFetchersDelegateIList
  • Constructor Details

    • DataFetchersDelegateIListImpl

      public DataFetchersDelegateIListImpl()
  • Method Details

    • list

      public List<SIP_IFoo1_SIS> list(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SIP_IList_SIS origin)
      Description copied from interface: DataFetchersDelegateIList
      This method loads the data for IList.list.
      Specified by:
      list in interface DataFetchersDelegateIList
      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 {InterfaceType {name:IList, fields:{Field{name:list, type:[IFoo1], params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.