Feature(breaking): Make `upsert<Model>` mutation params same as Prisma Client API.
maoosi opened this issue · comments
# before
mutation {
upsertPost(
where: { id: 1 }
data: { title: "Hello world" }
) {
title
}
}
# after
mutation {
upsertPost(
where: { id: 1 }
create: { title: "Hello world" }
update: { title: "Hello world" }
) {
title
}
}
Will be released as part of 1.0.0-rc.6
.