Irreversible
zio.blocks.schema.migration.MigrationAction.Irreversible
final case class Irreversible(at: DynamicOptic, originalAction: String) extends MigrationAction
Sentinel action representing a non-invertible operation. Executing this action always fails with a descriptive error. This is returned by .reverse on actions that cannot be structurally reversed (e.g., TransformField, ChangeFieldType, OptionalizeField).
Value parameters
- at
-
The path where the original action operated
- originalAction
-
The name of the original non-invertible action
Attributes
- Source
- MigrationAction.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationActionclass Objecttrait Matchableclass Any
Members list
In this article