Migration

zio.schema.meta.Migration$
See theMigration companion trait
object Migration

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class AddCase(path: NodePath, node: MetaSchema) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class AddNode(path: NodePath, node: MetaSchema) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class ChangeType(path: NodePath, value: StandardType[_]) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class DecrementDimensions(path: NodePath, n: Int) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class DeleteNode(path: NodePath) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class IncrementDimensions(path: NodePath, n: Int) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait LabelTransformation

Represents a valid label transformation.

Represents a valid label transformation.

Not currently implemented but we can use this type to encode unambiguous string transformations applied to field and case labels. For example, converting from snake to camel case (or vica versa)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
final case class Optional(path: NodePath) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class Recursive(path: NodePath, relativeNodePath: NodePath, relativeMigration: Migration) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class Relabel(path: NodePath, tranform: LabelTransformation) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class Require(path: NodePath) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any
final case class UpdateFail(path: NodePath, message: String) extends Migration

Attributes

Graph
Supertypes
trait Product
trait Equals
trait Migration
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods