dbsrgits / dbix-class-schema-loader

Official GitHub remote for git.shadowcat.co.uk DBIx-Class-Schema-Loader.git
http://dbix-class.org/
11 stars 34 forks source link

Encode S::L dump options within the Schema.pm [rt.cpan.org #70831] #31

Open rabbiveesh opened 1 year ago

rabbiveesh commented 1 year ago

Migrated from rt.cpan.org#70831 (status was 'new')

Requestors:

From ribasushi@leporine.io on 2011-09-09 04:10:00 :

As per your request filing it here:

The idea is to make a machine-parseable comment (Data::Dumper would work
just fine) at the top of the schema, which is part of the md5
(disallowing direct user manipulation). Then once you have a schema,
when you redump all the defaults you did not supply in the call (or on
the cli) are taken from parsing back this comment. So in essence editing
the options is facilitated by a re-dump with new options which S::L
respects.