Field

gql.ast$.Field
final case class Field[+F[_], -A, B](resolve: Resolver[F, A, B], output: Eval[Out[F, B]], description: Option[String], attributes: List[FieldAttribute[F]]) extends AnyField[F, A, B]

Attributes

Source
ast.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AnyField[F, A, B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAttributes[F2[x]](attrs: FieldAttribute[F2]*): Field[F2, A, B]

Attributes

Source
ast.scala
def compose[F2[x], A2](r: Resolver[F2, A2, A]): Field[F2, A2, B]

Attributes

Source
ast.scala
def contramap[F2[x], A2](f: A2 => A): Field[F2, A2, B]

Attributes

Source
ast.scala
def document(description: String): Field[F, A, B]

Attributes

Source
ast.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val asAbstract: AbstractField[F, B]

Attributes

Source
ast.scala