pervasive type constraints
[scpubgit/DX.git] / lib / DX / Role / BoundValueAction.pm
index 3bd125e..ed8d586 100644 (file)
@@ -4,15 +4,15 @@ use DX::Role;
 
 with 'DX::Role::Action';
 
-has target_path => (is => 'ro', required => 1);
+has target_path => (is => 'ro', required => 1, isa => ValuePath);
 
-has bound_to_path => (is => 'ro', required => 1);
+has bound_to_path => (is => 'ro', required => 1, isa => ValuePath);
 
-has rebind_path => (is => 'ro', required => 1);
+has rebind_path => (is => 'ro', required => 1, isa => ValuePath);
 
-has new_value => (is => 'ro', required => 1);
+has new_value => (is => 'ro', required => 1, isa => Value);
 
-has inner_action => (is => 'ro', required => 1);
+has inner_action => (is => 'ro', required => 1, isa => Action);
 
 requires 'update_class';