ManyToMany should skip broken joins rather than call Predef.error
Currently MappedManyToMany.children throws an error when, in the process of looking up the child elements via the join table, a join found to be broken (no child element for it).
Instead, it should use flatMap to skip broken joins. This requires some conversion of indexes between the join list and the children list.
Instead, it should use flatMap to skip broken joins. This requires some conversion of indexes between the join list and the children list.
Leave a comment