Interface SelfDescribingDataFetcher<T>
- All Superinterfaces:
DataFetcher<T>
Specialized
DataFetcher
that can provide information about itself.- Since:
- 1.2.0
- Author:
- Brian Clozel
-
Method Summary
Methods inherited from interface graphql.schema.DataFetcher
get
-
Method Details
-
getReturnType
ResolvableType getReturnType()The type that theDataFetcher
returns.This could be a type from a
@Controller
method declaration or the type expected to be returned by theDataFetcher
possibly backed by a Spring Data repository. The concrete type of the returned instance might be a subclass.- Returns:
- the type of the data returned by the data fetcher.
-