Open parsonsmatt opened 3 years ago
Is there a plan how to deal with legacy code that relies on the old syntax? I have inherited a significant code base written in the old style and it's hardly feasible to rewrite it all.
I've laid out the planned version releases here. If you need the old syntax, then you'll want to depend on esqueleto < 4
.
I can create a branch at esqueleto-3.6
that someone else can use for backporting fixes if they want to continue to maintain the legacy style.
This should occur in multiple phases:
esqueleto-3.5
249. Introduce
Database.Esqueleto.Legacy
, warn onDatabase.Esqueleto
, and point folks to Experimental syntax as new default.esqueleto-3.6
250.
Database.Esqueleto
officially points to experimental syntax.Database.Esqueleto.Legacy
andDatabase.Esqueleto.Experimental
get warnings, noting that they'll be deleted in the next version.esqueleto-4.0
Legacy syntax is completely deleted.