Uses of Class
graphql.schema.PropertyDataFetcher
Packages that use PropertyDataFetcher
-
Uses of PropertyDataFetcher in graphql.schema
Methods in graphql.schema that return PropertyDataFetcherModifier and TypeMethodDescriptionstatic <T> PropertyDataFetcher
<T> Returns a data fetcher that will use the property name to examine theDataFetchingEnvironment.getSource()
object for a getter method or field with that name, or if it's a map, it will look up a value using property name as a key.static <T,
O> PropertyDataFetcher <T> Returns a data fetcher that will present theDataFetchingEnvironment.getSource()
object to the supplied function to obtain a value, which allows you to use Java 8 method references say obtain values in a more type safe way.