Hey,
thanks for such a lovely project. Have been trying to update an existing entry by adding a new relation and while the query returns successfully the data is not represented/updated in the graphql explorer.
model Post {
id Int @id @default(autoincrement())
name String
type String
weight Int
tags Tag[]
}
model Tag {
id Int @id @default(autoincrement())
width Int
x Int
y Int
}
return db.post.update({
data: {
name: 'test',
type: 'test',
tags: {
connect: [
{
id: 1
}
]
}
},
where: { id }
});
Do you know what could be happening to stop the relation from being updated? The other post data is updated without issue.
Thanks,