From: Matt S Trout Date: Sat, 17 Sep 2016 17:38:15 +0000 (+0000) Subject: value_path will work fine for new-value binding, identity_path not required X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd830321b81dc281b0a9c5d527c4eb0aae8b9178;p=scpubgit%2FDX.git value_path will work fine for new-value binding, identity_path not required --- diff --git a/lib/DX/Predicate/MemberAt.pm b/lib/DX/Predicate/MemberAt.pm index 638ef19..bde4bf1 100644 --- a/lib/DX/Predicate/MemberAt.pm +++ b/lib/DX/Predicate/MemberAt.pm @@ -37,7 +37,7 @@ sub _possible_resolution_list { } elsif ( !$value->is_set and $value->action_builder->isa('DX::ActionBuilder::UnsetValue') - and my $p = $coll->identity_path + and my $p = $coll->value_path ) { my @path = (@$p, $key->string_value); my $ab = DX::ActionBuilder::ProxySetToAdd->new( @@ -46,7 +46,6 @@ sub _possible_resolution_list { ); my $set = $value->action_for_set_value( $value->but( - identity_path => \@path, action_builder => $ab ) );