trait SchemaDerivation[R] extends LowPriorityDerivedSchema
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- SchemaDerivation
- LowPriorityDerivedSchema
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def combine[T](ctx: ReadOnlyCaseClass[Typeclass, T]): Typeclass[T]
- def customizeInputTypeName(name: String): String
Default naming logic for input types.
Default naming logic for input types. This is needed to avoid a name clash between a type used as an input and the same type used as an output. GraphQL needs 2 different types, and they can't have the same name. By default, we add the "Input" suffix after the type name.
- implicit def derivedSchema[R, T](implicit derived: Derived[Schema[R, T]]): Schema[R, T]
- Definition Classes
- LowPriorityDerivedSchema
- def dispatch[T](ctx: SealedTrait[Typeclass, T]): Typeclass[T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def gen[R0, T](implicit derived: Derived[Schema[R0, T]]): Schema[R0, T]
Returns an instance of
Schema
for the given type T.Returns an instance of
Schema
for the given type T. For a case class or sealed trait, you can callgenMacro[T].schema
instead to get more details if the schema can't be derived. - implicit macro def genMacro[T]: Derived[Typeclass[T]]
Generates an instance of
Schema
for the given type T.Generates an instance of
Schema
for the given type T. This should be used only if T is a case class or a sealed trait. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isScalarValueType[T](ctx: ReadOnlyCaseClass[Typeclass, T]): Boolean
- def isValueType[T](ctx: ReadOnlyCaseClass[Typeclass, T]): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated