Argument

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

Value parameters

description

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

Attributes

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

Members list

Value members

Concrete methods

override def inputValueType: InputType[_]

Attributes

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

Attributes

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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product