Skip to content

Commit

Permalink
Make fwd and rev preds both optional in Attean::Algebra::NegatedPrope…
Browse files Browse the repository at this point in the history
…rtySet.
  • Loading branch information
kasei committed May 31, 2024
1 parent 70675af commit 37e9eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Attean/Algebra.pm
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,8 @@ package Attean::Algebra::NegatedPropertySet 0.033 {

with 'Attean::API::PropertyPath';

has 'predicates' => (is => 'ro', isa => ArrayRef[ConsumerOf['Attean::API::IRI']], required => 1);
has 'reversed' => (is => 'ro', isa => ArrayRef[ConsumerOf['Attean::API::IRI']], required => 1);
has 'predicates' => (is => 'ro', isa => ArrayRef[ConsumerOf['Attean::API::IRI']], required => 0, default => sub { [] });
has 'reversed' => (is => 'ro', isa => ArrayRef[ConsumerOf['Attean::API::IRI']], required => 0, default => sub { [] });

sub as_string {
my $self = shift;
Expand Down

0 comments on commit 37e9eaf

Please sign in to comment.