"MyDB::Schema::Result::Year","MyDB::Schema::Result::CD"
);
-Specify the result classes or other views that comprise this view.
-Pass this method an array reference.
+Specify the views (and only the views) that this view depends on.
+Pass this an array reference.
=head1 OVERRIDDEN METHODS
my ( $self, @args ) = @_;
my $new = $self->next::method(@args);
$new->{deploy_depends_on}
- = { map { $_->result_source_instance->name => 1 } @{ $new->{deploy_depends_on}||[] } }
+ = {
+ map { $_->result_source_instance->name => 1 }
+ @{ $new->{deploy_depends_on}||[] }
+ }
unless ref $new->{deploy_depends_on} eq 'HASH';
return $new;
}