From: Peter Rabbitson Date: Tue, 29 Jul 2014 09:17:36 +0000 (+0200) Subject: The extra reltype flag is breaking some suites - make the full change X-Git-Tag: v0.082800~90 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=29d57632d2221bea6eb9781c778f1bc0df80faf3;p=dbsrgits%2FDBIx-Class.git The extra reltype flag is breaking some suites - make the full change Might as well get this over with, still consistent with Swindon --- diff --git a/lib/DBIx/Class/Relationship/HasMany.pm b/lib/DBIx/Class/Relationship/HasMany.pm index fd84b30..eecda46 100644 --- a/lib/DBIx/Class/Relationship/HasMany.pm +++ b/lib/DBIx/Class/Relationship/HasMany.pm @@ -46,6 +46,7 @@ sub has_many { join_type => 'LEFT', cascade_delete => $default_cascade, cascade_copy => $default_cascade, + is_depends_on => 0, %{$attrs||{}} }); } diff --git a/lib/DBIx/Class/Relationship/HasOne.pm b/lib/DBIx/Class/Relationship/HasOne.pm index fbc90f1..94981dc 100644 --- a/lib/DBIx/Class/Relationship/HasOne.pm +++ b/lib/DBIx/Class/Relationship/HasOne.pm @@ -77,6 +77,7 @@ sub _has_one { { accessor => 'single', cascade_update => $default_cascade, cascade_delete => $default_cascade, + is_depends_on => 0, ($join_type ? ('join_type' => $join_type) : ()), %{$attrs || {}} }); 1;