Migration

zio.blocks.schema.migration.Migration
See theMigration companion class

Attributes

Companion
class
Source
Migration.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
Migration.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fromDynamic[A, B](dynamicMigration: DynamicMigration)(implicit sourceSchema: Schema[A], targetSchema: Schema[B]): Migration[A, B]

Attributes

Source
Migration.scala
def identity[A](implicit schema: Schema[A]): Migration[A, A]

Attributes

Source
Migration.scala

Inherited methods

def newBuilder[A, B](using sourceSchema: Schema[A], targetSchema: Schema[B]): MigrationBuilder[A, B, Any]

Extensions

Inherited extensions

extension [A](a: A)
inline def when[B <: A]: B

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
inline def wrapped[B]: B

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
extension [C[_], A](c: C[A])
inline def at(index: Int): A

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
inline def each: A

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
extension [M[_, _], K, V](m: M[K, V])
inline def atKey(key: K): V

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
inline def eachKey: K

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala
inline def eachValue: V

Attributes

Inherited from:
MigrationSelectorSyntax
Source
MigrationSelectorSyntax.scala