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
- Self type
Members list
In this article