Another heavy refactor of the rel resolver prototype (sequel to 03f6d1f7)
authorPeter Rabbitson <ribasushi@cpan.org>
Sat, 12 Jul 2014 15:32:52 +0000 (17:32 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 12 Jul 2014 18:59:01 +0000 (20:59 +0200)
commit83a6b24431383e560f414f2fcaefe7b8c08e03d2
treeded2764586e4da9eedd4f6f44cfd1534360162a3
parentee3337752d314667ec575398bb5007670db9bfbe
Another heavy refactor of the rel resolver prototype (sequel to 03f6d1f7)

Change the return value of _resolve_relationship_condition to a 3-value
hash, with a lot of the safety logic consolidated within that method. The
best way to gauge the significance of the changes is to look at the diff
of lib/DBIx/Class/Relationship/Base.pm

Also stop returning the "noncondition-columns" in the _resolve_condition
compa-shim. The information was only used by the code removed from
::Relationship::Base, and is rather new with no evidence of use within
CPAN/DarkPAN. It can be easily added back if necessary.
lib/DBIx/Class/Relationship/Base.pm
lib/DBIx/Class/ResultSource.pm
t/relationship/custom.t