From: Alexander Hartmaier Date: Wed, 10 Mar 2010 18:58:02 +0000 (+0100) Subject: don't inflate items X-Git-Tag: 2.002001~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=8ee81496088e875e33f8b9cf289da3eb9940fa0e don't inflate items item and list should do the same thing this fixes the rest item test we'll add object inflation for both item and list later when we've found a clean solution --- diff --git a/lib/Catalyst/Controller/DBIC/API.pm b/lib/Catalyst/Controller/DBIC/API.pm index 229237d..a572fa8 100644 --- a/lib/Catalyst/Controller/DBIC/API.pm +++ b/lib/Catalyst/Controller/DBIC/API.pm @@ -864,7 +864,7 @@ sub each_object_inflate { my ($self, $c, $object) = @_; - return { $object->get_inflated_columns }; + return { $object->get_columns }; } # from Catalyst::Action::Serialize