[Dbix-class] weird result_source_instance problem
Tobias Kremer
list at funkreich.de
Sat May 26 09:15:59 GMT 2007
>>> 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
More information about the Dbix-class
mailing list