pervasive type constraints
[scpubgit/DX.git] / lib / DX / ActionBuilder / UnsetValue.pm
index b2c1ddf..1baacc5 100644 (file)
@@ -9,7 +9,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} ] ]