[Dbix-class] (svn trunk version) Recursive insert and backward compatibility

Matt S Trout dbix-class at trout.me.uk
Sat Nov 15 20:12:45 GMT 2008


On Fri, Nov 07, 2008 at 09:51:45AM +0100, Zbigniew Lukasiak wrote:
> I know this is again not very usual setup - but I provide this info -
> so that you can make an informed decision about how much
> back-compatibillity you are going to support for the next version of
> DBIC.   In the past insert worked only on the record passed to it -
> now it recurses to related records. This fixes some multi-create
> scenarios - but might be sometimes unexpected.

I see. A suitable failing test patch would be appreciated; we should
easily be able to modify multi-create to only cascade insert for things
passed to new()

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list