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, WithComments, WithDirectives
A definition of a variable to an operation.
Value parameters
- 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.
Attributes
- See also
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithDirectivestrait WithCommentstrait AstNodeclass Objecttrait Matchableclass Any
Members list
In this article