Jim
05/15/2018, 5:04 AMquery {
groups {
id
name
users(where:{
location: {
id: "cjh5xorfq000c0824kmvjjd63"
}
}) {
id
}
}
}
But I dont know how to pass the location filter to the users relation in my resolver:
groups(parent, args, ctx, info) {
const {location} = args;
return ctx.db.query.groups({}, info);
},
Tatsuyuki Ishi
05/15/2018, 6:27 AMlewisblackwood
05/15/2018, 8:19 AMprisma seed --reset
? When I run it with the same seed.graphql
as used initially, I get the error: A unique constraint would be violated on User. Details: Field name = email
. If I change the user's email address in the seed.graphql
file, the command will run, but the database won't be reset. I would expect the database to be cleared by the --reset
flag? I'm using Prisma 1.8.3 (although was using 1.8.0 when I first saw this).hamdi
05/15/2018, 9:18 AManton-b
05/15/2018, 9:28 AMmrugraj
05/15/2018, 9:55 AM{
"error": "Could not connect to websocket endpoint <ws://url/to/prisma/server>. Please check if the endpoint url is correct."
}
Can any one please help?picosam
05/15/2018, 10:33 AMgregor
05/15/2018, 12:49 PMtaikn
05/15/2018, 1:17 PManton-b
05/15/2018, 1:19 PMJeremy Scatigna
05/15/2018, 1:25 PMpicosam
05/15/2018, 1:29 PMZach
05/15/2018, 1:30 PMmimica
05/15/2018, 1:33 PMbycedric
05/15/2018, 1:33 PMmatus.congrady
05/15/2018, 1:37 PMprisma deploy
, I'm getting the following error: 'ECONNRESET': request to <http://localhost:4466/management> failed, reason: socket hang up
Anybody able to help?bruno
05/15/2018, 1:53 PMveksen
05/15/2018, 2:56 PMlawjolla
05/15/2018, 3:06 PMweakky
05/15/2018, 3:40 PMnhuesmann
05/15/2018, 3:45 PMRenato Tano
05/15/2018, 3:54 PMmehdyouras
05/15/2018, 4:22 PMmehdyouras
05/15/2018, 4:22 PMmehdyouras
05/15/2018, 4:22 PMveksen
05/15/2018, 4:42 PMlawjolla
05/15/2018, 4:50 PMKat
05/15/2018, 6:30 PMpatrick
05/15/2018, 6:47 PMehodges
05/15/2018, 7:05 PM