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 as just straight json/javascript objects (not our entities). 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.
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 as just straight json/javascript objects (not our entities). 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.