trait Schema extends AnyRef

Representation of a GraphQL schema

A Schema is a collection of type and directive declarations.

Linear Supertypes
AnyRef, Any
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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mutationType: Option[NamedType]

    The type of mutations defined by this Schema

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

    The type of queries defined by this Schema

  19. def ref(tp: Type): Option[TypeRef]
  20. 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.

  21. def schemaType: NamedType

    The schema type.

    The schema type.

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

  22. def subscriptionType: Option[NamedType]

    The type of subscriptions defined by this Schema

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    Schema → AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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

Inherited from AnyRef

Inherited from Any

Ungrouped