@@ -209,6 +209,7 @@ export default async function createModels2(gql, config={create: 'Upsert', updat
const otherType = inInputs(otherName)
if (otherType && this[name] && typeof this[name] === 'object')
data[name] = (this[name]._id ? {_id: this[name]._id} : this[name])
+ else data[name] = this[name]
}})[kind].call(this)
})
const gqlQuery = `