[Dbix-class] Re: Blessed objects as scalar values: what to do ?
Dami Laurent (PJ)
laurent.dami at justice.ge.ch
Wed Nov 12 07:14:15 GMT 2008
>-----Message d'origine-----
>De : BUCHMULLER Norbert [mailto:norbi.lists at nix.hu]
>Envoyé : mardi, 11. novembre 2008 23:31
>À : dbix-class at lists.scsys.co.uk
>Objet : Re: [Dbix-class] Re: Blessed objects as scalar values:
>what to do ?
>
>Just to summarize the decisions:
>
>On Thu, 6 Nov 2008 17:26:51 +0100 BUCHMULLER Norbert
><norbi.lists at nix.hu>
>wrote:
>
>> > Therefore my proposal was to say : OK, let's treat objects like
>> > scalars, but only if they have a method to effectively transform
>> > themselves into a scalar. This makes it likely that such
>objects can
>> > indeed be inserted into databases.
>
>As discussed on IRC with mst, we should pass them intact, like current
>CPAN SQLA does. I changed SQLA to reflect this.
>
Hi Norbi,
OK with the change, as discussed on IRC.
I just repatched your patch because it wasn't giving the right answer on \$object, \\$object, etc. Also added a t/09refkind.t to check that.
Cheers, Laurent Dami
More information about the DBIx-Class
mailing list