EnumValue

sangria.schema.EnumValue
case class EnumValue[+T](name: String, description: Option[String], value: T, deprecationReason: Option[String], astDirectives: Vector[Directive], astNodes: Vector[AstNode]) extends Named, HasDeprecation, HasAstInfo

Value parameters

description

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HasAstInfo
trait Named
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def rename(newName: String): EnumValue.this.type
def withDirective(directive: Directive): EnumValue[T]
def withDirectives(directives: Directive*): EnumValue[T]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product