ironcamel/Dancer-Plugin-DBIC — pull request #3 by fgabolde (2012-09-16 11:47:01+00:00)
Title: Make DBIx::Class::Schema::Loader an optional dependency

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.