vendredi 20 mars 2015

Nesting models of the same type

I'm trying to create a sort of hierarchical structure where a parent model has children of the same model class, but it doesn't seem to work. When I do it, the children properties ends up with the max items in it. Probably not explaining this well, but checkout this JSBin to see what I mean.


Is this sort of thing possible with Ember Data? Any ideas how to get it to work?


Thanks!!





Aucun commentaire:

Enregistrer un commentaire