1 package DX::Action::SetValue;
3 use DX::Update::SetValue;
6 has target_path => (is => 'ro', required => 1);
8 has new_value => (is => 'ro', required => 1);
10 has _update => (is => 'lazy');
13 my ($self, $hyp) = @_;
14 my ($scope, @events) = $self->_update->apply_to($hyp->scope);
17 actions => [ @{$hyp->actions}, $self ],
26 DX::Update::SetValue->new(
27 target_path => $self->target_path,
28 new_value => $self->new_value,