Sébastien
06/12/2018, 2:46 PMnilan
06/12/2018, 2:48 PMprisma-binding already? 🙂Sébastien
06/12/2018, 2:53 PMprisma-binding pass the generated schema from prisma.graphql to the context argument of each resolver functions.nilan
06/12/2018, 3:06 PMSébastien
06/12/2018, 3:28 PMconnect to schema's Types, but when you need to create or update multiple nodes, what the args should look like ? Can we pass array to arguments of a mutation ?nilan
06/12/2018, 3:28 PMSébastien
06/12/2018, 3:39 PMtype Mutation {
newUser(name: String!, posts: [Post!]!): User!
}
It throws me an error must be Input Type but got: [Post!]!.nilan
06/12/2018, 3:40 PMprisma.graphql file for the createUser mutation and use the input type used therenilan
06/12/2018, 3:40 PMSébastien
06/12/2018, 3:45 PM