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

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?

Well, I must admit that I'm still trying to understand the problem. Are the relationships resolving to wrong result_source classes because there are multiple possibilities?

Looks like I won't be able to fix this with a quick hack for now, will I?

--Tobias




_______________________________________________
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/dbix-class@lists.rawmode.org/

Reply via email to