fieldResolver<T> method

ElementResolver<FieldReflection<O, T>> fieldResolver<T>(
  1. String fieldName
)

Returns a ElementResolver for a FieldReflection for a field with fieldName.

Implementation

ElementResolver<FieldReflection<O, T>> fieldResolver<T>(String fieldName) =>
    ElementResolver<FieldReflection<O, T>>(() => field<T>(fieldName));