Interface SelfDescribingDataFetcher<T>

All Superinterfaces:

public interface SelfDescribingDataFetcher<T> extends DataFetcher<T>
Specialized DataFetcher that exposes additional details such as return type information.
Brian Clozel, Rossen Stoyanchev
  • Method Details

    • getDescription

      String getDescription()
      Provide a description of the DataFetcher for display or logging purposes. Depending on the underlying implementation, this could be a controller method, a Spring Data repository backed DataFetcher, or other.
    • getReturnType

      ResolvableType getReturnType()
      The return type of this DataFetcher.

      This could be derived from the method signature of an annotated @Controller method, the domain type of a DataFetcher backed by a Spring Data repository, or other.