projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fd0d075
)
added coercion option to reflector
edenc [Sun, 5 Oct 2008 11:29:59 +0000 (11:29 +0000)]
lib/Reaction/InterfaceModel/Reflector/DBIC.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/InterfaceModel/Reflector/DBIC.pm
b/lib/Reaction/InterfaceModel/Reflector/DBIC.pm
index
20cb424
..
afa3dad
100644
(file)
--- a/
lib/Reaction/InterfaceModel/Reflector/DBIC.pm
+++ b/
lib/Reaction/InterfaceModel/Reflector/DBIC.pm
@@
-661,6
+661,7
@@
sub parameters_for_source_object_attribute {
domain_model => $dm_name,
orig_attr_name => $attr_name,
);
+ $attr_opts{coerce} = 1 if $from_attr->should_coerce;
#m2m / has_many
my $m2m_meta;