pervasive type constraints
[scpubgit/DX.git] / lib / DX / ActionBuilder / Normal.pm
index 8b3096e..de57498 100644 (file)
@@ -7,7 +7,7 @@ use DX::Class;
 
 with 'DX::Role::ActionBuilder';
 
-has target_path => (is => 'ro', required => 1);
+has target_path => (is => 'ro', required => 1, isa => ValuePath);
 
 sub aperture_for_set_value {
   [ [ VALUE_SET ,=> @{$_[0]->target_path} ] ]