Im using strongLoop for make a simple explorer of folders and documents.
The case is very simple: one folder could contains many documents and folder.
So in strongloop y define this model hierarchy:
-Object |-----Folder |-----Document
So, in folder i defined a relation in this way: "Folder has Many Object" because a folder could contains folder, documents or either.
But i think that strongloop doesn't work with polymorphism , because only could contains child's of type "Object" strictly.
Any idea?