Class DataFetchersDelegateI2Foo140Impl

java.lang.Object
org.allGraphQLCases.server.impl.DataFetchersDelegateI2Foo140Impl
All Implemented Interfaces:
DataFetchersDelegateI2Foo140

@Component public class DataFetchersDelegateI2Foo140Impl extends Object implements DataFetchersDelegateI2Foo140
  • Constructor Details

    • DataFetchersDelegateI2Foo140Impl

      public DataFetchersDelegateI2Foo140Impl()
  • Method Details

    • bar

      public SIP_I2Bar140_SIS bar(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SIP_I2Foo140_SIS origin)
      Description copied from interface: DataFetchersDelegateI2Foo140
      This method loads the data for I2Foo140.bar.
      Specified by:
      bar in interface DataFetchersDelegateI2Foo140
      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 bar attribute of the origin, which is an instance of {InterfaceType {name:I2Foo140, fields:{Field{name:bar, type:I2Bar140, params:[]}}, implements IFoo140, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.