VariableDefinition
sangria.ast.VariableDefinition
case class VariableDefinition(name: String, tpe: Type, defaultValue: Option[Value], directives: Vector[Directive], comments: Vector[Comment], location: Option[AstLocation]) extends AstNode with WithComments with WithDirectives
A definition of a variable to an operation.
Attributes
- defaultValue
Value that the variable should assume in an operation if none was provided with the GraphQL request.
- name
Name of the variable being defined.
- See also:
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait WithDirectivestrait WithCommentstrait AstNodeclass Objecttrait Matchableclass Any