warn when redefining relationships (RT#73876)
authorTim Bunce <Tim.Bunce@pobox.com>
Tue, 10 Jan 2012 12:57:05 +0000 (07:57 -0500)
committerMatt S Trout <mst@shadowcat.co.uk>
Sat, 25 Aug 2012 16:32:41 +0000 (16:32 +0000)
commit167e0a188a804834caa203b974168835e688858e
treeb1712e5bc37a695f0e257ccc72441721f95c2698
parent6343a20374932aeb277eb63a91f9769f9da2f4b6
warn when redefining relationships (RT#73876)

Add a carp when a relationship is being redefined and DBIC_TRACE is on.
lib/DBIx/Class.pm
lib/DBIx/Class/ResultSource.pm