CCBCodeMonkey
11/26/2018, 5:34 PMgraphql-yoga
and nodemon
where when you make a change in development inside one of the resolver functions, it doesn't get picked up unless I kill nodemon
completely? but what is weird is changes outside the functions, do get picked up immediatelySithnil
11/26/2018, 11:52 PMDiego Alvarado
11/26/2018, 11:57 PMian izaguirre
11/27/2018, 12:21 AMjoar
11/27/2018, 2:42 AMjoar
11/27/2018, 2:45 AMwontwon
11/27/2018, 4:50 AMwontwon
11/27/2018, 4:56 AMwontwon
11/27/2018, 4:57 AMTony
11/27/2018, 5:01 AMJohn Smeeth
11/27/2018, 5:11 AMJohn Smeeth
11/27/2018, 5:12 AM# sandbox/hello-prisma/generated/prisma-client
generated/prisma-client/prisma.go:22:15: undefined: Exists
generated/prisma-client/prisma.go:48:14: undefined: Client
generated/prisma-client/prisma.go:1420:9: undefined: Client
generated/prisma-client/prisma.go:1421:11: undefined: Instruction
John Smeeth
11/27/2018, 5:12 AMGorodov Maksim
11/27/2018, 7:53 AMHassan
11/27/2018, 9:59 AMJidé
11/27/2018, 11:12 AMyolen
11/27/2018, 11:22 AMtype User {
id: ID! @unique
name: String!
posts: [Post!]! @relation(name: "UserOnPost")
}
type Post {
id: ID! @unique
title: String!
user: User! @relation(name: "UserOnPost")
}
changed datamodel: type User {
id: ID! @unique
name: String!
posts: [Post!]! @relation(name: "PenisOnPost")
}
type Post {
id: ID! @unique
title: String!
user: User! @relation(name: "PenisOnPost")
}
I keep getting âś– You are creating a required relation, but there are already nodes that would violate that constraint.
when prisma deploy
kitze
11/27/2018, 11:31 AMTHpubs
11/27/2018, 12:29 PMonDelete
for pgRelation
?Jidé
11/27/2018, 12:50 PMsubscription {
chapter(where: { mutation_in: [UPDATED] }) {
mutation
updatedFields
node {
id
title
}
previousValues {
id
title
}
}
}
And prisma.yml :
subscriptions:
chapter:
query: ./chapter.graphql
webhook: <https://XXXXXXX.execute-api.eu-west-1.amazonaws.com/dev/prismaSubscriptions>
A test query :
mutation {
updateChapter(
where: {
id: "cjot5ky4d521f0a75pytaabzl"
}
data: {
title: "Hello 2"
}
) {
id
}
}
The webhook is a node lambda, I see cloudwatch logs when visiting the url manually. Calling the query in playground returns the result, but no logs show up in the lambda cloudwatch logs.
Any idea ? 🙂tylim
11/27/2018, 1:49 PMJidé
11/27/2018, 2:39 PMNamoz
11/27/2018, 6:04 PM{
A {
B {
C ( where : { field_not: null } ) {
id
}
}
}
Is giving me an error :
Unknown argument 'where' on field 'C'
Martin Hunt
11/27/2018, 6:11 PMGarvold
11/27/2018, 7:00 PMNaka
11/27/2018, 7:44 PM"message": "Argument 'where' expected type 'ProjectWhereInput' but got {OR: [{id_contains: \"test\"}, ....
Mukul
11/27/2018, 7:50 PMvjsingh
11/27/2018, 8:19 PMNaka
11/27/2018, 8:26 PM[String!]!
in your datamodel.impowski
11/27/2018, 9:08 PM