giffurd
02/09/2018, 3:40 AMgiffurd
02/09/2018, 3:41 AMcurl '<https://api.graph.cool/simple/v1/__PROJECTID__/permissions>' \
-H 'Authorization: Bearer __TOKEN__' \
-H 'Content-Type: application/json' \
-d '{"query":"{\n SomeUserExists\n}"}'
giffurd
02/09/2018, 3:42 AMgiffurd
02/09/2018, 3:42 AM{
"data": null,
"errors": [
{
"message": "Cannot query field 'SomeUserExists' on type 'Query'. (line 2, column 3):\n SomeUserExists\n ^",
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
giffurd
02/09/2018, 3:44 AMgiffurd
02/09/2018, 4:09 AMgiffurd
02/09/2018, 4:09 AMdivyendu
02/09/2018, 6:16 AMcreateCard(data: CardCreateInput!): Card!
updateCard(data: CardUpdateInput!, where: CardWhereUniqueInput!): Card
deleteCard(where: CardWhereUniqueInput!): Card
Update and Delete return optional Card
but create returns Card!
- why so? what if there is an error while created? What would be the content of data part of response, since it cannot be null?divyendu
02/09/2018, 6:44 AMprisma seed <path>
can come in handy!
OR
we can check for seed path and fail fast before deploying!hari mohan
02/09/2018, 8:22 AMvageskar
02/09/2018, 8:31 AMvageskar
02/09/2018, 8:32 AMMoritz
02/09/2018, 9:06 AMuser
02/09/2018, 9:40 AMhttps://prisma.slack.com/files/U38TMFV39/F963JU8RH/1_efwl8iah2vec8n1yfknafq.pngâ–¾
jsan
02/09/2018, 10:10 AMjsan
02/09/2018, 10:11 AMjbonigomes
02/09/2018, 12:04 PMjbonigomes
02/09/2018, 12:27 PMuser
02/09/2018, 1:11 PMhttps://prisma.slack.com/files/U96FPBEEQ/F96DCN4SX/image.pngâ–¾
max
02/09/2018, 1:20 PMsenorcodecat
02/09/2018, 1:25 PMsenorcodecat
02/09/2018, 1:26 PMhari mohan
02/09/2018, 1:26 PMhari mohan
02/09/2018, 1:27 PMhari mohan
02/09/2018, 1:29 PMFi1osof
02/09/2018, 1:47 PMm.b.iqbal
02/09/2018, 1:58 PMrem
02/09/2018, 4:13 PMpatstrz
02/09/2018, 4:16 PMError: patrick.strzelec~curv-prisma is not a valid name for a service name. It must start with a letter and may contain up to 30 letters, numbers, underscores and hyphens.: {"response":{"data":{"addProject":null},"errors":[{"locations":[{"line":2,"column":9}],"path":["addProject"],"code":4001,"message":"patrick.strzelec~curv-prisma is not a valid name for a service name. It must start with a letter and may contain up to 30 letters, numbers, underscores and hyphens.","requestId":
Any ideas of how to deal with it ? I have been able to deploy succesfully in the pastRyan Elkholy
02/09/2018, 4:18 PM