Field

case class Field(name: String, fieldType: `__Type`, parentType: Option[`__Type`], alias: Option[String], fields: List[Field], targets: Option[Set[String]], arguments: Map[String, InputValue], directives: List[Directive], _condition: Option[Set[String]], _locationInfo: () => LocationInfo)

Represents a field used during the exeuction of a query

Value parameters:
_condition

Internal, the possible types that contains this field

_locationInfo

Internal, the source location in the query

alias

A potential alias specified in the query, i.e alias: field

arguments

The specified arguments for the field's resolver

directives

The directives specified on the field

fieldType

The GraphQL type

fields

The selected subfields, if any, i.e field { a b }

name

The name

parentType

The parent type of the field

targets

The type conditions used to select this field, i.e ...on Type { field }

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def combine(other: Field): Field

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields