[Dbix-class] SQL::Translator conversion from Class::Base to Moo

Dagfinn Ilmari Mannsåker ilmari at ilmari.org
Fri Aug 24 18:44:48 GMT 2012


Hi all,

Over the past few weeks I've been converting SQL::Translator from
Class::Base and hand-rolled accessors to Moo and a few roles providing
some Class::Base functionality as well as previously-duplicated code.

As a bonus, this eliminates the leaks caused by cyclic references
between various schema objects.

The only thing left using Class::Base is the deprecated,
soon-to-be-removed SQL::Translator::Schema::Graph.

The code passes the test suites of DBIx::Class (with
DBICTEST_SQLT_DEPLOY=1), ::DeploymentHandler and ::Migration, but I
would like some testing and review by actual users before merging it to
trunk.

So, please check out the topic/mooify-schema branch of
git://git.shadowcat.co.uk/dbsrgits/SQL-Translator.git and give it a
bash.

-- 
ilmari
"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen




More information about the DBIx-Class mailing list