swangy
02/22/2019, 3:37 PMHarshit
02/22/2019, 3:46 PMswangy
02/22/2019, 4:00 PMHarshit
02/22/2019, 4:00 PMswangy
02/22/2019, 4:02 PMDailyNote
✖ The relation field `author` must specify a `@relation` directive: `@relation(name: "MyRelation")`
✖ The relation field `reviewer` must specify a `@relation` directive: `@relation(name: "MyRelation")`
swangy
02/22/2019, 4:02 PMauthor: User @relation(name: "author")
reviewer: User User @relation(name: "reviewer")
swangy
02/22/2019, 4:03 PMHarshit
02/22/2019, 4:03 PMHarshit
02/22/2019, 4:05 PMauthor: User @relation(name: "Author")
reviewer: User @relation(name: "Reviewer")
swangy
02/22/2019, 4:07 PMHarshit
02/22/2019, 4:07 PMswangy
02/22/2019, 4:08 PMDeploying service `prisma-hello` to stage `dev` to server `prisma-us1` !
ERROR: Syntax error while parsing GraphQL query. Invalid input ""Author")\n reviewer: User User @", expected IgnoredNoComment or Value (line 111, column 32):
author: User @relation(name: "Author")
^
{
"data": {
"deploy": null
},
"errors": [
{
"locations": [
{
"line": 2,
"column": 9
}
],
"path": [
"deploy"
],
"code": 3017,
"message": "Syntax error while parsing GraphQL query. Invalid input \"\"Author\")\\n reviewer: User User @\", expected IgnoredNoComment or Value (line 111, column 32):\n author: User @relation(name: \"Author\")\n ^",
"requestId": "us1:cjsg91wge5b7t0b30deomp84o"
}
],
"status": 200
}
Harshit
02/22/2019, 4:09 PMHarshit
02/22/2019, 4:09 PMHarshit
02/22/2019, 4:09 PMswangy
02/22/2019, 4:10 PMHarshit
02/22/2019, 4:10 PMreviewer: User User @relation(name: "reviewer")
Which is not correctHarshit
02/22/2019, 4:10 PMswangy
02/22/2019, 4:11 PMswangy
02/22/2019, 4:11 PMErrors:
DailyNote
✖ The relation field `reviewer` has the type `User`. But the other directive for this relation appeared on the type `Evaluation`
✖ The relation field `author` has the type `User`. But the other directive for this relation appeared on the type `Evaluation`
Evaluation
✖ The relation field `reviewer` has the type `User`. But the other directive for this relation appeared on the type `DailyNote`
✖ The relation field `author` has the type `User`. But the other directive for this relation appeared on the type `DailyNote`
Harshit
02/22/2019, 4:12 PMHarshit
02/22/2019, 4:12 PMHarshit
02/22/2019, 4:17 PMHarshit
02/22/2019, 4:17 PMHarshit
02/22/2019, 4:17 PMHarshit
02/22/2019, 4:17 PMHarshit
02/22/2019, 4:18 PMHarshit
02/22/2019, 4:18 PMswangy
02/22/2019, 4:19 PMswangy
02/22/2019, 4:19 PMswangy
02/22/2019, 4:21 PMHarshit
02/22/2019, 4:22 PMswangy
02/22/2019, 4:29 PM