https://github.com/user-attachments/assets/4dece1ed-2326-4958-a2ed-2e57e51b3528
This PR implements the Pure Algebraic Migration System for ZIO Schema 2, addressing issue #519. It introduces a serializable, pure data representation of schema transformations (MigrationAction) and a typed API (Migration[A, B]) for evolving data structures without runtime overhead.
RenameField, AddField, DropField, TransformValue, etc.) in MigrationAction.DynamicMigration, a recursive engine that applies actions to DynamicValue structures, supporting both structural (Record/Enum) and value-level transformations.Migration[A, B] wrapper that integrates with Schema[A] and Schema[B] to provide a type-safe user API.MigrationError with path tracking (DynamicOptic) for precise failure reporting.MigrationSpec verifying key operations (Rename, Add, Drop, Chaining) on both Scala 2.13 and Scala 3.MigrationSpec passed on Scala 2.13 and Scala 3.3.7.scalafmt.(Please check the attached video/screenshot of the passing tests) https://github.com/user-attachments/assets/4dece1ed-2326-4958-a2ed-2e57e51b3528
Closes #519
/claim #519
Naman Nogya
@nogyanaman
ZIO
@ZIO