Schema::Loader::DBI->new doesn't rebless when using a custom loader_class, so its call to ->_setup doesn't call the right subclass method.
An upcoming change to Schema::Loader introduces caching of table info by wrapping the relevant methods in ->_setup, which becomes less effective if it's not called on the subclass.
Schema::Loader::DBI->new
doesn't rebless when using a customloader_class
, so its call to->_setup
doesn't call the right subclass method.An upcoming change to Schema::Loader introduces caching of table info by wrapping the relevant methods in
->_setup
, which becomes less effective if it's not called on the subclass.