For anyone that uses nested mutations, do you know if the nested part of a mutation works like an upsert? For example if I had
mutation {
createPost (
text: “blah blah”
author: {
name: “John”
}
) {
id
}
}
Where Author has a unique field “name”, I understand that if an Author with the name John didn’t exist it would be created, but if it did exist would it attribute that already existing Author to this Post? Hope that makes sense