Skip Menu |

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

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

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

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



Subject: No option to entirely remove __PACKAGE__->load_components declarations
When working with a large schema (hundreds of resultsources) compilation time can be drastically reduced by aggregating components into a Base::Row::Class and then have each individual result class use base Base::Row::Class[1]. Currently S::L allows control of the use base declaration, but does not allow removal of the (potentially optional) __PACKAGE__->load_components (qw/Core/) S::L should allow full control of the load_components section, and possibly even default to no load_components and to use base 'Core'; (as it is equivalent but faster)
Fixed in current in 0.04999_12 . Now uses DBIx::Class::Core as the base for Results, and only extra components are loaded (if any.)