Class DataFetchersDelegatebreakImpl

All Implemented Interfaces:

@Component public class DataFetchersDelegatebreakImpl extends Object implements DataFetchersDelegatebreak
Custom field data fetchers are available since release 2.5
  • Constructor Details

    • DataFetchersDelegatebreakImpl

      public DataFetchersDelegatebreakImpl()
  • Method Details

    • _case

      public SEP_extends_SES _case(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, STP_break_STS origin, SEP_extends_SES test, String _if)
      Custom field data fetchers are available since release 2.5
      Specified by:
      _case in interface DataFetchersDelegatebreak
      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 case attribute of the origin, which is an instance of {ObjectType {name:break, fields:{Field{name:case, type:extends, params:[test:extends!,if:else]}}, comments ""}. It depends on your data modle, but it typically contains the id to use in the query.
      test - The input parameter sent in the query by the GraphQL consumer, as defined in the GraphQL schema.