fully type Resolution* classes
[scpubgit/DX.git] / lib / DX / Resolution.pm
index 35059dd..a821f7a 100644 (file)
@@ -3,9 +3,9 @@ package DX::Resolution;
 use DX::Utils qw(expand_deps);
 use DX::Class;
 
-has veracity_depends_on => (is => 'ro', required => 1);
+has veracity_depends_on => (is => 'ro', required => 1, isa => DependencyList);
 
-has actions => (is => 'ro', required => 1);
+has actions => (is => 'ro', required => 1, isa => ArrayRef[Action]);
 
 sub next_resolution { $_[0] }