use connection hack only for schema_base_class
authorRafael Kitover <rkitover@cpan.org>
Tue, 25 Oct 2011 20:56:48 +0000 (16:56 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 25 Oct 2011 20:56:48 +0000 (16:56 -0400)
commita1781f7f4662ebf849773539acbe59eb85a1d0d0
treea727fca8dcda2f7beb1d5c4cf087156eb4df88df
parentf9daf711f082ac9b573a80b557495627388c349f
use connection hack only for schema_base_class

Use the horrible mro hack in ::Loader::connection only if
schema_base_class and/or schema_components were defined.

Add warnings to the POD for these options that dynamic schemas cannot
define a connection method.
lib/DBIx/Class/Schema/Loader.pm
lib/DBIx/Class/Schema/Loader/Base.pm