Skip to content

Commit

Permalink
Remove lazy from user attribute
Browse files Browse the repository at this point in the history
Otherwise `Moose` will say:

> You cannot have a lazy attribute (user) without specifying a default
> value for it
  • Loading branch information
zmughal committed Oct 21, 2023
1 parent 03097ab commit 45ae37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RDF/LinkedData/RWHypermedia.pm
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ around '_content' => sub {
};


has user => ( is => 'rw', isa => Str, lazy => 1,
has user => ( is => 'rw', isa => Str,
predicate => 'is_logged_in',
clearer => 'log_out'
);
Expand Down

0 comments on commit 45ae37b

Please sign in to comment.