1 package DX::Role::Value;
3 use DX::ActionBuilder::Null;
6 has identity_path => (is => 'ro');
8 has action_builder => (
10 default => 'DX::ActionBuilder::Null',
11 handles => [ qw(can_set_value action_for_set_value) ],
16 sub but_set_action_builder {
18 $self->but(action_builder => $ab);
21 sub but_set_identity_path {
22 my ($self, $path) = @_;
23 $self->but(identity_path => $path);
29 my ($self, $other) = @_;
31 YAML::Dump($self->to_data) eq YAML::Dump($other->to_data);