Argument

sangria.schema.Argument
See theArgument companion object
case class Argument[T](name: String, argumentType: InputType[_], description: Option[String], defaultValue: Option[(, ToInput[_, _])], fromInput: FromInput[_], astDirectives: Vector[Directive], astNodes: Vector[AstNode]) extends InputValue[T] with Named with HasAstInfo

Attributes

description

A description of this schema element that can be presented to clients of the GraphQL service.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Named
trait InputValue[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def inputValueType: InputType[_]

Attributes

Definition Classes
override def rename(newName: String): Argument.this.type

Attributes

Definition Classes
def withDirective(directive: Directive): Argument[T]
def withDirectives(directives: Directive*): Argument[T]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product