[CDBI] State of the DBIx::Class Class::DBI compatibility layer
Matt S Trout
dbix-class at trout.me.uk
Fri Mar 21 16:33:12 GMT 2008
On Tue, Mar 11, 2008 at 12:09:57PM -0700, Michael G Schwern wrote:
> Matt S Trout wrote:
> >On Thu, Feb 14, 2008 at 12:48:58PM -0800, Michael G Schwern wrote:
> >>Matt S Trout wrote:
> >>>I was considering making this work for DBIC by being able to say "delay
> >>>relationship setup until I tell you I've got everything loaded".
> >>How about just delaying it until the primary keys of the foreign class
> >>are declared?
> >Hmm. We never try to do inference on anything else, so there's probably
> >no harm in that.
> >Write me some TODO tests and I'll have a play :)
> t/cdbi-t/hasa_without_loading.t is that.
> It looks like maybe there can be a "delayed" type accessor that replaces
> itself with the real accessor when called?
Which would explain why it failed when I pushed it to trunk.
When I said TODO I did actually mean it to be marked as a TODO test - see
the Test::More docs for more details *runs for it*
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?
More information about the ClassDBI