Package org.allGraphQLCases.server.impl
Class DataFetchersDelegateIFoo140Impl
java.lang.Object
org.allGraphQLCases.server.impl.DataFetchersDelegateIFoo140Impl
- All Implemented Interfaces:
DataFetchersDelegateIFoo140
@Component
public class DataFetchersDelegateIFoo140Impl
extends Object
implements DataFetchersDelegateIFoo140
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbar
(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SIP_IFoo140_SIS origin) This method loads the data for IFoo140.bar.
-
Constructor Details
-
DataFetchersDelegateIFoo140Impl
public DataFetchersDelegateIFoo140Impl()
-
-
Method Details
-
bar
public SIP_IBar140_SIS bar(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, SIP_IFoo140_SIS origin) Description copied from interface:DataFetchersDelegateIFoo140
This method loads the data for IFoo140.bar.- Specified by:
bar
in interfaceDataFetchersDelegateIFoo140
- Parameters:
dataFetchingEnvironment
- The GraphQLDataFetchingEnvironment
. It gives you access to the full GraphQL context for this DataFetcherorigin
- 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:IFoo140, fields:{Field{name:bar, type:IBar140, params:[]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
-