[Jifty-commit] r5404 - in Net-Jifty: .
Jifty commits
jifty-commit at lists.jifty.org
Wed May 7 21:27:03 EDT 2008
Author: sartak
Date: Wed May 7 21:27:03 2008
New Revision: 5404
Modified:
Net-Jifty/ (props changed)
Net-Jifty/lib/Net/Jifty.pm
Log:
r55336 at onn: sartak | 2008-05-07 21:26:58 -0400
Less whiny unknown type constraint warnings
Modified: Net-Jifty/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/lib/Net/Jifty.pm (original)
+++ Net-Jifty/lib/Net/Jifty.pm Wed May 7 21:27:03 2008
@@ -994,6 +994,7 @@
: $spec->{readable} ? 'ro'
: undef;
$opts{isa} = $self->_moosify_type($spec->{type});
+ delete $opts{isa} if !defined($opts{isa});
# on set, update the value of this record's column on the server
if ($spec->{writable}) {
@@ -1024,6 +1025,7 @@
return 'Num' if $type =~ /numeric|decimal|real|double|float/;
return 'Bool' if $type =~ /bool/;
+ Carp::carp "Unhandled type: $type";
return undef;
}
More information about the Jifty-commit
mailing list