io.github.vigoo.desert.zioschema.schemas

Implicit placeholder Schema instances for types that cannot be described with zio-schema but have a valid built-in desert BinaryCodec.

The codec derivation detects these placeholders and uses the appropriate binary codec instead of failing.

The schema instances are not usable for any other purpose.

Attributes

Members list

Value members

Concrete methods

def codecFromTypeRegistry[A]: Schema[A]

Concrete fields

val builtInTryCodecTypeId: TypeId
val typeRegistryTypeId: TypeId

Implicits

Implicits

implicit def builtInArrayCodec[A](implicit elemSchema: Schema[A]): Schema[Array[A]]
implicit lazy val builtInThrowableCodecPlaceholder: Schema[Throwable]
implicit def builtInTryCodec[A](implicit elemSchema: Schema[A]): Schema[Try[A]]