Centralize specification of expected Result class base in the codebase
authorPeter Rabbitson <ribasushi@cpan.org>
Mon, 19 Sep 2016 12:14:27 +0000 (14:14 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Mon, 19 Sep 2016 12:14:27 +0000 (14:14 +0200)
commitc6ec79000b160e7491d9ab9d95d6e69c473b0862
tree95ea85554550bb929a687e2b55ecb485e7940ff1
parent32871272c1fa5d098895fb3d6d2b2ed3640f371b
Centralize specification of expected Result class base in the codebase

Some parts of the stack need to be able to disambiguate Result instances from
other objects. In odrder to avoid tight coupling introduce a single override
point $DBIx::Class::ResultSource::__expected_result_class_isa for esoteric
use cases

No functional changes
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/ResultSource.pm
lib/DBIx/Class/Row.pm
lib/DBIx/Class/Storage/DBI.pm