CodeYellowBV/mobx-spine

Store -> Model -> Store relation not working

Closed this issue · 1 comments

@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.

^^ added a failing test