For persistor projections, handle default case (no primitives wanted in projection)
sshankar19 opened this issue · 0 comments
sshankar19 commented
in persistor new api tests there is
projection: { Address: ['city'], Role: ['name'], Phone ['']}}).then(function(employee) {
expect(employee.homeAddress.state).is.equal(undefined);
revisit this for fetching all persistor related properties, foreign keys but not primitives. Maybe should be Phone: null
or Phone: []