From: Matt S Trout Date: Sat, 17 Sep 2016 17:34:11 +0000 (+0000) Subject: value_path will work fine for dependencies, identity_path not required X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff97a3b07d4f75b42132cff0e80f6baabb4eb3b0;hp=57542e07c803275a8d74b39dc39ccd1d3157d0fa;p=scpubgit%2FDX.git value_path will work fine for dependencies, identity_path not required --- diff --git a/lib/DX/Step/ResolveProposition.pm b/lib/DX/Step/ResolveProposition.pm index 9efd8b3..6292ba5 100644 --- a/lib/DX/Step/ResolveProposition.pm +++ b/lib/DX/Step/ResolveProposition.pm @@ -25,7 +25,7 @@ has depends_on => (is => 'ro', required => 1, coerce => sub { my ($type, @path) = @$dep; push @exp, [ $type, - map { ref() ? @{$_->identity_path or next DEP} : $_ } @path + map { ref() ? @{$_->value_path or next DEP} : $_ } @path ]; } (@exp ? [ $on, @exp ] : ());