value_path will work fine for new-value binding, identity_path not required
Matt S Trout [Sat, 17 Sep 2016 17:38:15 +0000 (17:38 +0000)]
lib/DX/Predicate/MemberAt.pm

index 638ef19..bde4bf1 100644 (file)
@@ -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
                         )
                       );