"Dave Rolsky via RT" <bug-DBIx-Class-Schema-Loader@rt.cpan.org> writes:
Show quoted text> I have a schema where two tables have two distinct many-to-many
> relationships. Without knowing what the intervening linking table is, I
> can't name the relationship properly.
>
> I'm going to try to hack around this somehow, but this information really
> need to be passed to the name generator sub.
I've pushed a fix for this to the topic/multi-m2m-rel_name_map-rt81091
branch of the DBIC::SL git repo:
git://git.shadowcat.co.uk/dbsrgits/DBIx-Class-Schema-Loader.git
It still needs docs, tests and review, but should basically work.
The link class, moniker and rel name are added to the hash for
many_to_many rels.
--
"I use RMS as a guide in the same way that a boat captain would use
a lighthouse. It's good to know where it is, but you generally
don't want to find yourself in the same spot." - Tollef Fog Heen