[Dbix-class] Patch: inflate_column

Bernhard Graf dbic2 at augensalat.de
Tue Nov 28 14:25:17 GMT 2006


Matt S Trout wrote:

> Bernhard Graf wrote:
> > Since I have a current DBIC working copy on my HD now, I also offer
> > this patch to be applied. It lets you set an inflator for multiple
> > columns at once, as described in my email one month ago:
> > http://lists.scsys.co.uk/pipermail/dbix-class/2006-October/002687.h
> >tml
>
> Again, NO TESTS.
>
> Please don't expect to me to apply any patch without tests unless
> it's a bugfix for something for which tests have already been
> provided.

I was afraid you will say this. ;-)
OK. I'm starting with the inflate_column patch, hoping the tests are as =

desired.

Changes in this patch:
- DBIx::Class::InflateColumn::inflate_column() can handle multiple
  columns to which the inflator is applied
- ergo the method is renamed to "inflate_columns" and has an alias
  called "inflate_column"

Join condition patch comes soon.
-- =

Bernhard Graf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBIC_inflate_column.patch
Type: text/x-diff
Size: 6749 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20061128/3f=
98eb6a/DBIC_inflate_column.bin


More information about the Dbix-class mailing list