trait Schema extends AnyRef

Representation of a GraphQL schema

A Schema is a collection of type and directive declarations.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Schema
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def directives: List[Directive]

    The directives defined by this Schema.

  2. abstract def pos: SourcePos
  3. abstract def types: List[NamedType]

    The types defined by this Schema.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def TypeRef(tpnme: String): TypeRef

    Alias for ref for use within constructors of concrete Schema values.

    Alias for ref for use within constructors of concrete Schema values.

    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def defaultSchemaType: NamedType

    The default type of a GraphQL schema

    The default type of a GraphQL schema

    Unless a type named "Schema" is explicitly defined as part of this Schema a definition of the form,

    type Schema { query: Query! mutation: Mutation subscription: Subscription }

    is used.

  8. def definition(name: String): Option[NamedType]

    Look up by name a type defined in this Schema.

    Look up by name a type defined in this Schema.

    Yields the type, if defined, None otherwise.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def exhaustive(tp: Type, branches: List[Type]): Boolean

    Are the supplied alternatives exhaustive for tp

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isRootType(tpe: Type): Boolean

    True if the supplied type is one of the Query, Mutation or Subscription root types, false otherwise

  16. def mutationType: Option[NamedType]

    The type of mutations defined by this Schema

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def queryType: NamedType

    The type of queries defined by this Schema

  21. def ref(tp: Type): Option[TypeRef]
  22. def ref(tpnme: String): TypeRef

    A reference by name to a type defined by this Schema.

    A reference by name to a type defined by this Schema.

    TypeRefs refer to types defined in this schema by name and hence can be used as part of mutually recursive type definitions.

  23. def schemaType: NamedType

    The schema type.

    The schema type.

    Either the explicitly defined type named "Schema" or the default schema type if not defined.

  24. def subscriptionType: Option[NamedType]

    The type of subscriptions defined by this Schema

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    Schema → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped