My db has this kind of schema:
type Parent{
nome: String! @id
children: [Child]! @hasInverse(field: parent)
}
type Child{
nome: String! @id
parent: Parent!
}
First, I’m populating the database by the parents.
Next, I want to populate the children while updating the parents.
How would I do that using mutations on GraphQL?