Skip Menu |
 

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 70831
Status: new
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Encode S::L dump options within the Schema.pm
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 462
Download (untitled) / with headers
text/plain 462b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.