On Fri, May 25, 2007 at 03:48:41PM +0200, Tobias Kremer wrote:
> > > >> Correction: Calls to standard relationships DO work fine but I
> > > >> have custom
> > > >> methods in MyApp::Schema::User that use these relationships and
> > > >> they stop
> > > >> working:
> > > >
> > > > Can you show the calling code, please?
> >
> > Ok, I tried to strip down my schema so that you can have a look at it:
> >
> > http://www.funkreich.de/files/dbic_wreck.tar.gz
>
> Check out this dump of $user->result_source->schema(). Just by changing
> the name given to register_source the class mapping changes
Ah.
F**k.
I think we need a way to indicate 'primary source for class' then. Or go
back and make the source_name (rather than class name) form of relationship
specification work, finally. Or both.
Thoughts?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/