I found an issue on getRawValueFromConfig where the rawEntity has an entityAspect but it was a raw object (serialized from breeze client).
Maybe the check rawEntity.entityAspect || rawEntity.complexAspect should be typeof (rawEntity.getProperty) === "function" ???
function getRawValueFromConfig(rawEntity, dp) {
// 'true' fork can happen if an initializer contains an actaul instance of an already created complex object.
return (rawEntity.entityAspect || rawEntity.complexAspect) ? rawEntity.getProperty(dp.name) : rawEntity[dp.name];
}
Hello all,
I found an issue on getRawValueFromConfig where the rawEntity has an entityAspect but it was a raw object (serialized from breeze client). Maybe the check rawEntity.entityAspect || rawEntity.complexAspect should be typeof (rawEntity.getProperty) === "function" ???
function getRawValueFromConfig(rawEntity, dp) { // 'true' fork can happen if an initializer contains an actaul instance of an already created complex object. return (rawEntity.entityAspect || rawEntity.complexAspect) ? rawEntity.getProperty(dp.name) : rawEntity[dp.name]; }