Martin Hunt
10/21/2018, 4:04 PMmutation {
createListItem(title:"this is a test of a new item") {
id
title
}
}
Returns one item. But then, when running:
query {
listItems(first:4 skip:0){
id
title
}
}
I see two items returned with the same title and different ID's. My mutation is about as simple as it gets
createListItem(parent, args, context, info) {
return context.prisma.createListItem({ title: filter.clean(args.title) })
}
so I'm just not sure what could be going wrong here. Again, it's working fine locally and the only real difference between the two is the NODE_ENV.
Both the local and deployed versions are connecting to the same Prisma demo database. If I go directly to the playground of the prisma database I don't get the same issue.
Any help figuring out where to start would be appreciated beyond beliefmarcus
10/21/2018, 7:57 PMMartin Hunt
10/21/2018, 11:17 PM