Dancer::Plugin::DBIC pulls in DBIx::Class::Schema::Loader which comes with a bunch of Lingua modules, SQL::Translator, etc. All these are not needed for a production app which will never need all those development modules.
This changeset attempts to fix this by making DCSL an optional dependency. An exception is thrown at runtime if the schema_class is not defined and DCSL is not found.
Hi,
Dancer::Plugin::DBIC pulls in DBIx::Class::Schema::Loader which comes with a bunch of Lingua modules, SQL::Translator, etc. All these are not needed for a production app which will never need all those development modules.
This changeset attempts to fix this by making DCSL an optional dependency. An exception is thrown at runtime if the schema_class is not defined and DCSL is not found.