public class FieldDataFetcher<T> extends Object implements graphql.schema.DataFetcher<T>, graphql.TrivialDataFetcher<T>
FieldAccessor for the (java-) field is is created.
Otherwise, a MethodAccessor is created for the accessor method.
The owner is used to create the PropertyAccessor independently of the source object (which could be a
different
subtype of the owner class for each call).
| Constructor and Description |
|---|
FieldDataFetcher(Field field,
Reference owner) |
Copyright © 2018–2021. All rights reserved.