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