pervasive type constraints
[scpubgit/DX.git] / lib / DX / ActionBuilder / ProxySetToAdd.pm
index e1e8bf8..06b0885 100644 (file)
@@ -5,9 +5,9 @@ use DX::Class;
 
 with 'DX::Role::ActionBuilder';
 
-has target_path => (is => 'ro', required => 1);
+has target_path => (is => 'ro', required => 1, isa => ValuePath);
 
-has proxy_to => (is => 'ro', required => 1);
+has proxy_to => (is => 'ro', required => 1, isa => ActionBuilder);
 
 sub aperture_for_set_value {
   my ($self) = @_;