[Dbix-class] RFC: Restrict deflation to blessed objects only?

Jess Robinson castaway at desert-island.demon.co.uk
Sat Oct 28 19:48:26 BST 2006


Is anyone relying on the fact that deflate currently checks for is-ref, 
and not blessed objects?

DBIx::Class::InflateColumn::_deflated_column line 88:
return $value unless ref $value; # If it's not an object, don't touch it

This chokes on me attempting to pass \'DEFAULT' to populate, thinking it 
needs to deflate that value.

If nobody yells, I'm going to change it to check for blessed objects 
explicitly ;)

Jess




More information about the DBIx-Class mailing list