Subject: | D::C::S::L hardcodes 'Core' |
Date: | Wed, 22 Aug 2007 13:29:24 -0500 |
To: | bug-DBIx-Class-Schema-Loader [...] rt.cpan.org |
From: | Lanny Ripple <lanny [...] cisco.com> |
This is somewhere between a bug and feature request.
When using DBIx::Class::Schema::Loader's make_schema_at() the
output schema always includes 'Core' in the
__PACKAGE__->load_components("Core");
line. My group uses our own Core to cut down on the clutter
loading it like
__PACKAGE__->load_components("+CDB::DBIx::Core");
Since D::C::S::L::Base hardcodes the string 'Core' we have worked
around this by exploding our core and listing all the components
individually. This is troublesome
Please provide an option to specify the core to be used rather
than using a hardcoded value (with 'Core' as the obvious default).
Thanks,
-ljr
__Details__
Distribution Name:
DBIx-Class-Schema-Loader-0.04002
perl -v:
This is perl, v5.8.6 built for sun4-solaris
uname -a:
SunOS squirrel 5.8 Generic_117350-34 sun4u sparc
SUNW,Ultra-Enterprise
--
Lanny Ripple <lanny@cisco.com>
ScmDB / Cisco Systems, Inc.