EntitySpaces/entityspaces.js — Issue #6: Smarter EsEntity.populateEntity
Author: EntitySpaces
Created: 2012-01-01 15:56:36+00:00
State: open

I have changed EsEntity.populateEntity() so that if there is no esTypeDef entry for the property in question it just simply copies it.

For instance, if I bring down this object graph

Employees
Orders
OrderDetails

And we only include the Employees.js file it now copies the Orders and OrderDetails, however, what if I included Employees.js and OrderDetails.js I would want those to be real objects. It's not hard to do this I just want to have a design session on this. I started the changes but back them out.