solnic/dm-mapper — pull request #13 by solnic (2012-11-11 13:04:38+00:00)
Title: Simplify relationship mapper builder

I suspect @snusnu won't like it but this branch removes the concept of joining from target-to-source as I found it uber-complex adding a lot of noise and unneeded complexity. It also makes the graph look awkward by creating nodes that are not inline with mapper and relationship definitions. This whole thing is not worth the effort as it gives very small benefit of theoretically simplifying multi-include. I'm saying theoretically as I realized it only sounds good in theory but in practice it actually makes things harder.

This commit removes 137 LOC and I believe it can still be made if simpler.

I will experiment with multi-include soon to prove my point...