traits => ['Array'],
default => sub { [] },
trigger => sub
- {
+ {
my ($self, $new) = @_;
$self->check_column_relation($_, 1) for @$new;
},
has 'page_arg' => ( is => 'ro', isa => Str, default => 'list_page' );
+=attribute_public offset_arg is: ro, isa: Str, default: 'offset'
+
+offset_arg controls how to reference 'offset' in the the request_data
+
+=cut
+
+has 'offset_arg' => ( is => 'ro', isa => Str, default => 'list_offset' );
+
=attribute_public select_arg is: ro, isa: Str, default: 'list_returns'
select_arg controls how to reference 'select' in the the request_data
has 'prefetch_arg' => ( is => 'ro', isa => Str, default => 'list_prefetch' );
-=attribute_public data_root is: ro, isa: Str, default: 'listt'
+=attribute_public data_root is: ro, isa: Str, default: 'list'
data_root controls how to reference where the data is in the the request_data
has 'data_root' => ( is => 'ro', isa => Str, default => 'list');
+=attribute_public item_root is: ro, isa: Str, default: 'data'
+
+item_root controls how to reference where the data for single object
+requests is in the the request_data
+
+=cut
+
+has 'item_root' => ( is => 'ro', isa => Str, default => 'data');
+
=attribute_public total_entries_arg is: ro, isa: Str, default: 'totalcount'
total_entries_arg controls how to reference 'total_entries' in the the request_data