@@ -119,8 +119,11 @@ export default async function createModels2(gql, config={create: 'Upsert', updat
constructor(data={}, empty = false){
totalObjects ++
if (data._id && (data._id in identityMap)){
+ //TODO:
if (identityMap[data._id].empty && !empty){
identityMap[data._id].empty = false
+ }
+ if (!empty){
identityMap[data._id].populate(data)
}
identityMapHits++