graphql mutation for add object data to an array code example
Example: how to pass array in mutation playground
var MovieSchema = `
type Movie {
name: String
}
input MovieInput {
name: String
}
mutation {
addMovies(movies: [MovieInput]): [Movie]
}
`