implement schema_base_class for dynamic schemas
authorRafael Kitover <rkitover@cpan.org>
Tue, 25 Oct 2011 10:55:39 +0000 (06:55 -0400)
committerRafael Kitover <rkitover@cpan.org>
Tue, 25 Oct 2011 19:54:11 +0000 (15:54 -0400)
commitcc15b78ff04f40dad669e62bdba95865d246ad11
tree2aa3a2d21601a6bac582d8b0218085ddc81ca20b
parent14b1bd2bfea5864c6a8d68e54df2d6bc2a9b8723
implement schema_base_class for dynamic schemas

Implement schema_base_class and schema_components support for dynamic
schemas at 'connection' time.

Augment btilly's test to check that schema_components are also applied
at 'connection' time.

This requires a rather horrible hack in ::Loader::connection, because
mro cannot normally deal with a changing @ISA inside of a call chain,
but it works.
Makefile.PL
lib/DBIx/Class/Schema/Loader.pm
t/60schema_base_dispatched.t [deleted file]
t/70schema_base_dispatched.t [new file with mode: 0644]
t/lib/DBIx/Class/TestSchemaComponent.pm