Method: GraphQL::UnresolvedTypeError#field

Defined in:
lib/graphql/unresolved_type_error.rb

#fieldGraphQL::Field (readonly)

Returns The field whose value couldn't be resolved (field.type is type which couldn't be resolved).

Returns:

  • (GraphQL::Field)

    The field whose value couldn't be resolved (field.type is type which couldn't be resolved)



10
11
12
# File 'lib/graphql/unresolved_type_error.rb', line 10

def field
  @field
end