Argument

sangria.schema.Argument
See theArgument companion class
object Argument

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Argument.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[T, Default](name: String, argumentType: InputType[T], description: String, defaultValue: Default)(implicit toInput: ToInput[Default, _], fromInput: FromInput[T], res: ArgumentType[T]): Argument[Res]
def apply[T, Default](name: String, argumentType: InputType[T], defaultValue: Default)(implicit toInput: ToInput[Default, _], fromInput: FromInput[T], res: ArgumentType[T]): Argument[Res]
def apply[T](name: String, argumentType: InputType[T], description: String)(implicit fromInput: FromInput[T], res: WithoutInputTypeTags[T]): Argument[Res]
def apply[T](name: String, argumentType: InputType[T])(implicit fromInput: FromInput[T], res: WithoutInputTypeTags[T]): Argument[Res]
def createWithDefault[T, Default](name: String, argumentType: InputType[T], description: Option[String], defaultValue: Default)(implicit toInput: ToInput[Default, _], fromInput: FromInput[T], res: ArgumentType[T]): Argument[Res]
def createWithoutDefault[T](name: String, argumentType: InputType[T], description: Option[String])(implicit fromInput: FromInput[T], res: ArgumentType[T]): Argument[Res]