Moritz
03/12/2018, 9:34 AMdata: {
name,
images: {
connect: {
id: image
}
}
}
, which throws an error when the image param is null: "_data": {
"name": "Badman",
"images": {
"connect": [
{}
]
}
},
Do I need to create different mutations with an if loop or is there a quick and dirty way? Should prisma connect ignore empty values, i.e. I though it did in the past... Any thoughts? Thanks!