ModifierStack

gql.ModifierStack
See theModifierStack companion object
final case class ModifierStack[+T](modifiers: List[Modifier], inner: T)

A very convinient algebra for transforming GraphQL types with modifiers. It can take a GraphQL type to a Scala type and back.

Attributes

Companion
object
Source
Modifier.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
Modifier.scala
def map[B](f: T => B): ModifierStack[B]

Attributes

Source
Modifier.scala

Attributes

Source
Modifier.scala
def set[B](t: B): ModifierStack[B]

Attributes

Source
Modifier.scala
def show(showInner: T => String): String

Attributes

Source
Modifier.scala
def toType(implicit ev: T <:< String): Type

Attributes

Source
Modifier.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product