Catalyst-Controller-DBIC-API
view release on metacpan or search on metacpan
- By default search_parameters is an ArrayRef[HashRef] which is pertinent
to list_munge_parameters
- More thorough documentation of the various bits and pieces.
- Documentation now uses Pod::Weaver and Plugin::PodWeaver (weaver.ini
added)
- The distribution is now managed by Dist::Zilla
- And some more likely forgotten
1.004002 2010-01-14
- Implement 'as' as a complement to 'select'
- CGI::Expand'ed search parameters are now also JSON decoded + test
- Fixed pod for parameters using a json string which shouldn't be
surrounded by single quotes
- Use next instead of NEXT in RPC
- Moved sub object from RPC/REST to Base to DRY This will break your code
if you subclass from REST and had relied on the action name 'object'
- Check for defined objects before returning them for create/update
1.004001 2010-01-04
- Allow for more complex prefetch_allows (multiple keys in hash)
- Skip non-existant parameters in deserialization
lib/Catalyst/Controller/DBIC/API.pm view on Meta::CPAN
use namespace::autoclean;
has '_json' => (
is => 'ro',
isa => JSON::MaybeXS::JSON(),
lazy_build => 1,
);
sub _build__json {
# no ->utf8 here because the request params get decoded by Catalyst
return JSON::MaybeXS->new;
}
with 'Catalyst::Controller::DBIC::API::StoredResultSource',
'Catalyst::Controller::DBIC::API::StaticArguments';
with 'Catalyst::Controller::DBIC::API::RequestArguments' => { static => 1 };
__PACKAGE__->config();
( run in 0.997 second using v1.01-cache-2.11-cpan-26ccb49234f )