I worked on issue 43: "Equality expression not reversible in OneToMany" https://github.com/max-l/Squeryl/issues#issue/43
The changes can be reviewed here:
https://github.com/mrico/Squeryl/compare/master...mr_issue_43
My solution is to move the private method _splitEquality from ManyToManyRelationImpl to QueryDsl, so it can be used by the class OneToManyRelationImpl as well.
To test it I added a new relation subjectToCoursesRightLeft to SchoolDbMutableRelations which is the same as subjectToCourses but with reversed arguments. What do you think?
Cheers!
Fix has been pushed to master. Thanks for the fast review.