spartanz / schemaz

A purely-functional library for defining type-safe schemas for algebraic data types, providing free generators, SQL queries, JSON codecs, binary codecs, and migration from this schema definition
https://spartanz.github.io/schemaz
Apache License 2.0
164 stars 18 forks source link

Schema diff #46

Open vil1 opened 5 years ago

vil1 commented 5 years ago

Implementing automatic data migration implies being able to compute the structural difference between to schemas.

Ideally, this difference would be represented as a sequence of "schema transformation" as defined in #45.