[Dbix-class] InflateColumn with objects external to the
database (like InflateColumn::FS)
Marc Mims
marc at questright.com
Fri Apr 17 23:42:07 GMT 2009
* Francesc Rom? i Frigol? <francesc.roma+dbix at gmail.com> [090417 11:39]:
> Marc is more comfortable with a solution that instead of modifying the
> source object, it creates a new row object like this:
>
> my $copy = bless { %$self, _column_data => $col_data, _inflated_column =>
> $inflated_col }, ref $self;
> $copy = $copy->next::method($changes);
I've committed an update with a working copy method and a fix for a
previously reported infinite recursion bug introduced with the addition
of fs_new_on_update.
http://dev.catalyst.perl.org/svnweb/bast/revision?rev=5891
I also removed DBIx::Class::UUIDColumns as a base class. I still 'use'
it for its get_uuid method, but inheritance was probably not the right
way to accomplish that.
Whether ::FS can rely less on DBIC internals is still an issue open for
discussion.
-Marc
More information about the DBIx-Class
mailing list