Field

caliban.execution.Field
See theField companion object
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, fragment: Option[Fragment])

Represents a field used during the execution 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 }

fragment

The fragment that is directly wrapping this field

name

The name

parentType

The parent type of the field

targets

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def combine(other: Field): Field

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields