Store -> Model -> Store relation not working
Closed this issue · 1 comments
SpaceK33z commented
@jasperstam I finally reproduced the issue @abzainuddin was having.
It goes wrong when you have a model that has a Store -> Model -> Store relation. The first Store relation will add the remaining relation data (Model -> Store) in __nestedRepository
. For the first Model it will then correctly get its data from __nestedRepository
, but it will 'discard' the relation data for the last Store relation.
SpaceK33z commented
^^ added a failing test