projects
/
catagits/Catalyst-Controller-DBIC-API.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c50b4fa
)
allow setting the result_class to undef to prevent the usage of HashRefInflator
Alexander Hartmaier [Fri, 21 Oct 2011 17:42:34 +0000 (19:42 +0200)]
Changes
patch
|
blob
|
blame
|
history
lib/Catalyst/Controller/DBIC/API/StoredResultSource.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
f8f469e
..
4168866
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-3,6
+3,7
@@
Revision history for Catalyst-Controller-DBIC-API: {{ $dist->version }}
{{ $NEXT }}
- Use the column accessor instead of set_column when inserting new objects
+- Allow setting the result_class to undef to prevent the usage of HashRefInflator
2.004001 2011-08-19 16:17:53 Europe/Vienna
diff --git
a/lib/Catalyst/Controller/DBIC/API/StoredResultSource.pm
b/lib/Catalyst/Controller/DBIC/API/StoredResultSource.pm
index
a6c301c
..
2d9f9f3
100644
(file)
--- a/
lib/Catalyst/Controller/DBIC/API/StoredResultSource.pm
+++ b/
lib/Catalyst/Controller/DBIC/API/StoredResultSource.pm
@@
-23,7
+23,7
@@
result_class is the name of the resultset class that is the model for this contr
=cut
-has 'result_class' => ( is => 'ro', isa => Str, default => 'DBIx::Class::ResultClass::HashRefInflator' );
+has 'result_class' => ( is => 'ro', isa => Maybe[Str], default => 'DBIx::Class::ResultClass::HashRefInflator' );
=method_public stored_result_source