Package graphql

Interface TrivialDataFetcher<T>

All Superinterfaces:
DataFetcher<T>
All Known Subinterfaces:
IntrospectionDataFetcher<T>, LightDataFetcher<T>
All Known Implementing Classes:
PropertyDataFetcher, SimpleListConnection, SingletonPropertyDataFetcher, StaticDataFetcher

@PublicSpi public interface TrivialDataFetcher<T> extends DataFetcher<T>
Mark a DataFetcher as trivial: If a data fetcher is simply mapping data from an object to a field, it can be considered a trivial data fetcher for the purposes of tracing and so on.
  • Method Summary

    Methods inherited from interface graphql.schema.DataFetcher

    get