Hello, I recently started to look into graphql and...
# prisma-whats-new
k
Hello, I recently started to look into graphql and your examples are great ! I have a question about nested mutation. https://github.com/graphcool-examples/react-apollo-todo-example/blob/master/src/components/TodoApp.js#L52 Lets say we change the mutation to
Copy code
mutation addTodo($todo: AddTodoItem!) {
  createTodo(todo: todo) { id }
}
The AddTodoItem is:
Copy code
AddTodoItem: {
text: String!,
dates: TodoDates!
}
And TodoDates is:
Copy code
TodoDates: {
  created: String!,
  completed: String
}