ArgValue

gql.ArgValue
final case class ArgValue[A](name: String, input: Eval[In[A]], defaultValue: Option[Value[Const, Unit]], description: Option[String])

A GraphQL argument declaration with an optional default value. The argument references an input type, which is suspended in Eval for recursion.

Attributes

Source
Arg.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def default(value: Value[Const, Unit]): ArgValue[A]

Attributes

Source
Arg.scala
def document(description: String): ArgValue[A]

Attributes

Source
Arg.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product