trait GenericSchema[R] extends DerivationSchema[R] with TemporalSchema
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- GenericSchema
- TemporalSchema
- DerivationSchema
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Typeclass[T] = Schema[R, T]
- Definition Classes
- DerivationSchema
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
- implicit val bigDecimalSchema: Schema[Any, BigDecimal]
- implicit val bigIntSchema: Schema[Any, BigInt]
- implicit val booleanSchema: Schema[Any, Boolean]
- implicit def chunkSchema[A](implicit ev: Schema[R, A]): Schema[R, Chunk[A]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def combine[T](ctx: ReadOnlyCaseClass[Typeclass, T]): Typeclass[T]
- Definition Classes
- DerivationSchema
- 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.
- Definition Classes
- DerivationSchema
- def dispatch[T](ctx: SealedTrait[Typeclass, T]): Typeclass[T]
- Definition Classes
- DerivationSchema
- implicit val doubleSchema: Schema[Any, Double]
- implicit def effectSchema[R1 >: R, R2 >: R, E <: Throwable, A](implicit ev: Schema[R2, A]): Schema[R, ZIO[R1, E, A]]
- implicit def eitherSchema[RA, RB, A, B](implicit evA: Schema[RA, A], evB: Schema[RB, B]): Schema[RA with RB, Either[A, B]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit val floatSchema: Schema[Any, Float]
- implicit def functionSchema[RA, RB, A, B](implicit arg1: ArgBuilder[A], ev1: Schema[RA, A], ev2: Schema[RB, B]): Schema[RA with RB, (A) => B]
- implicit def functionUnitSchema[A](implicit ev: Schema[R, A]): Schema[R, () => A]
- implicit def futureSchema[A](implicit ev: Schema[R, A]): Schema[R, Future[A]]
- implicit macro def gen[T]: Typeclass[T]
- Definition Classes
- DerivationSchema
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def infallibleEffectSchema[R1 >: R, R2 >: R, A](implicit ev: Schema[R2, A]): Schema[R, URIO[R1, A]]
- implicit def infallibleQuerySchema[R1 >: R, R2 >: R, A](implicit ev: Schema[R2, A]): Schema[R, ZQuery[R1, Nothing, A]]
- implicit def infallibleStreamSchema[R1 >: R, R2 >: R, A](implicit ev: Schema[R2, A]): Schema[R, ZStream[R1, Nothing, A]]
- lazy val instantEpochSchema: Schema[Any, Instant]
- Definition Classes
- TemporalSchema
- implicit lazy val instantSchema: Schema[Any, Instant]
- Definition Classes
- TemporalSchema
- implicit val intSchema: Schema[Any, Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def listSchema[A](implicit ev: Schema[R, A]): Schema[R, List[A]]
- val localDateEpochSchema: Schema[Any, LocalDate]
- Definition Classes
- TemporalSchema
- implicit lazy val localDateSchema: Schema[Any, LocalDate]
- Definition Classes
- TemporalSchema
- def localDateSchemaWithFormatter(formatter: DateTimeFormatter): Schema[Any, LocalDate]
- Definition Classes
- TemporalSchema
- val localDateTimeEpochSchema: Schema[Any, LocalDateTime]
- Definition Classes
- TemporalSchema
- implicit lazy val localDateTimeSchema: Schema[Any, LocalDateTime]
- Definition Classes
- TemporalSchema
- def localDateTimeSchemaWithFormatter(formatter: DateTimeFormatter): Schema[Any, LocalDateTime]
- Definition Classes
- TemporalSchema
- implicit lazy val localTimeSchema: Schema[Any, LocalTime]
- Definition Classes
- TemporalSchema
- def localTimeSchemaWithFormatter(formatter: DateTimeFormatter): Schema[Any, LocalTime]
- Definition Classes
- TemporalSchema
- implicit val longSchema: Schema[Any, Long]
- implicit def mapSchema[RA, RB, A, B](implicit evA: Schema[RA, A], evB: Schema[RB, B]): Schema[RA with RB, Map[A, B]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def objectSchema[R1, A](name: String, description: Option[String], fields: (Boolean, Boolean) => List[(__Field, (A) => Step[R1])], directives: List[Directive] = List.empty): Schema[R1, A]
Creates an object schema for a type
ACreates an object schema for a type
A- name
name of the type
- description
description of the type
- fields
list of fields with a type description and a resolver for each field
- implicit lazy val offsetDateTimeSchema: Schema[Any, OffsetDateTime]
- Definition Classes
- TemporalSchema
- def offsetDateTimeSchemaWithFormatter(formatter: DateTimeFormatter): Schema[Any, OffsetDateTime]
- Definition Classes
- TemporalSchema
- implicit def optionSchema[A](implicit ev: Schema[R, A]): Schema[R, Option[A]]
- implicit def querySchema[R1 >: R, R2 >: R, E <: Throwable, A](implicit ev: Schema[R2, A]): Schema[R, ZQuery[R1, E, A]]
- def scalarSchema[A](name: String, description: Option[String], makeResponse: (A) => ResponseValue): Schema[Any, A]
Creates a scalar schema for a type
ACreates a scalar schema for a type
A- name
name of the scalar type
- description
description of the scalar type
- makeResponse
function from
Ato ResponseValue that defines how to resolveA
- implicit def seqSchema[A](implicit ev: Schema[R, A]): Schema[R, Seq[A]]
- implicit def setSchema[A](implicit ev: Schema[R, A]): Schema[R, Set[A]]
- implicit def streamSchema[R1 >: R, R2 >: R, E <: Throwable, A](implicit ev: Schema[R2, A]): Schema[R, ZStream[R1, E, A]]
- implicit val stringSchema: Schema[Any, String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def temporalSchema[A <: Temporal](name: String, description: Option[String] = None)(f: (A) => ResponseValue): Schema[Any, A]
- Definition Classes
- TemporalSchema
- def temporalSchemaWithFormatter[A <: Temporal](name: String, description: Option[String] = None)(formatter: DateTimeFormatter): Schema[Any, A]
- Definition Classes
- TemporalSchema
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def tupleSchema[RA, RB, A, B](implicit evA: Schema[RA, A], evB: Schema[RB, B]): Schema[RA with RB, (A, B)]
- implicit val unitSchema: Schema[Any, Unit]
- implicit val uuidSchema: Schema[Any, UUID]
- implicit def vectorSchema[A](implicit ev: Schema[R, A]): Schema[R, Vector[A]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- implicit lazy val zonedDateTimeSchema: Schema[Any, ZonedDateTime]
- Definition Classes
- TemporalSchema
- def zonedDateTimeSchemaWithFormatter(formatter: DateTimeFormatter): Schema[Any, ZonedDateTime]
- Definition Classes
- TemporalSchema