1 package Catalyst::Controller::DBIC::API::Request;
3 #ABSTRACT: Provides a role to be applied to the Request object
6 use MooseX::Types::Moose(':all');
7 use namespace::autoclean;
13 =attribute_private _application is: ro, isa: Object, handles: Catalyst::Controller::DBIC::API::StoredResultSource
15 This attribute helps bridge between the request guts and the application guts; allows request argument validation against the schema. This is set during L<Catalyst::Controller::DBIC::API/inflate_request>
22 writer => '_set_application',
23 isa => Object|ClassName,
29 writer => '_set_controller',
33 my ($self, $new) = @_;
35 $self->_set_class($new->class) if defined($new->class);
36 $self->_set_application($new->_application);
37 $self->_set_prefetch_allows($new->prefetch_allows);
38 $self->_set_search_exposes($new->search_exposes);
39 $self->_set_select_exposes($new->select_exposes);
43 with 'Catalyst::Controller::DBIC::API::StoredResultSource';
44 with 'Catalyst::Controller::DBIC::API::RequestArguments';
45 with 'Catalyst::Controller::DBIC::API::Request::Context';
49 Please see L<Catalyst::Controller::DBIC::API::RequestArguments> and L<Catalyst::Controller::DBIC::API::Request::Context> for the details of this class, as both of those roles are consumed in this role.