What would be proper way to write resolver for thi...
# orm-help
m
What would be proper way to write resolver for this type of query?
Copy code
mutation {
  createPerson(
    data: {
      lastName: "Last"
      firstName: "First"
      phones: { 
        create: [
        { phoneNumber: "phone1" }, 
        { phoneNumber: "phone2" }
      ] 
      }
    }
  ) {id}
}
n
Can you elaborate on your question? It's not clear what you are asking for 🙂