Subject: | ::Null doesn't inherit from ::Base |
Date: | Mon, 18 Feb 2013 17:09:19 -0600 |
To: | bugs-log-any [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
Attribute (_log) does not pass the type constraint because: Validation
failed for 'Log::Any::Adapter::Base' with value
Log::Any::Adapter::Null=HASH(0x4b159f8) at reader
Gator::Ticket::Repository::_log (defined at
/home/ccushing/Gator-Ticket/lib/Gator/Ticket/Role/Logging.pm line 20)
line 8.
exception is from Moose, but I would think that all adapters would
inherit from ::Adapter::Base including the ::Null Adapter. I'm
probably just going to make this an or check on the ISA, but I
personally think it's a bug to not have this consistency.
--
Caleb Cushing
http://xenoterracide.com