rem
01/22/2019, 1:17 PMprisma.yml
config.lewisedc
01/22/2019, 1:57 PMdivyendu
01/22/2019, 2:22 PMSayan
01/22/2019, 2:57 PMHmm
01/22/2019, 6:59 PMprisma deploy
it shows Creating stage dev for service sik-fits √
Deploying service `sik-fits` to stage `dev` to server `prisma-us1` 663ms
Changes:
User (Type)
+ Created type `User`
+ Created field `id` of type `ID!`
+ Created field `name` of type `String!`
+ Created field `email` of type `String!`
+ Created field `updatedAt` of type `DateTime!`
+ Created field `createdAt` of type `DateTime!`
Applying changes (0/6) /
And then gets stuck thereHmm
01/22/2019, 7:00 PMScottAgirs
01/22/2019, 7:01 PMimpowski
01/22/2019, 8:00 PMimpowski
01/22/2019, 8:00 PMimpowski
01/22/2019, 8:01 PMprisma-client
directoryimpowski
01/22/2019, 8:02 PMprisma
impowski
01/22/2019, 8:06 PMfaure
01/22/2019, 8:44 PM3010
is for violating unique constraintsdan
01/22/2019, 9:22 PMbepasquet
01/23/2019, 3:39 AMbepasquet
01/23/2019, 3:39 AMatmat
01/23/2019, 6:45 AM{
feed {
links {
id
description
url
}
}
}
I was getting the error
{
"data": null,
"errors": [
{
"message": "Field 'count' of type 'Int' must not have a sub selection. (line 4, column 7):\n count {\n ^",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"feed"
]
}
]
}
Mo
01/23/2019, 9:01 AMJohnson
01/23/2019, 12:07 PMBenjamin Sampson
01/23/2019, 12:12 PMUser: {
posts(parent) {
return prisma.user({ id: parent.id }).posts();
},
},
Post: {
user(parent) {
return <http://prisma.post|prisma.post>({ id: parent.id }).user();
},
},
Any help would be highly appreciatedrem
01/23/2019, 1:31 PMProject not found: 'backend$%7Ddev%7D'
- I particularly note the %7D
(which is a {
) and I'm not sure what they're doing there… Any ideas?Naka
01/23/2019, 1:35 PMmbenaissa
01/23/2019, 3:03 PMGo
client
You can find more details on <https://github.com/prisma/prisma/issues/3277#issuecomment-456827273>
rem
01/23/2019, 3:10 PMprisma generate
with JS option, it's creating this string:
endpoint: `${process.env["PRISMA_ENDPOINT"]}}${process.env["PRISMA_STAGE"]}}`,
which is producing this string: <http://localhost:4466/backend/}dev}>
- anyone seen this before?Sébastien
01/23/2019, 3:29 PM! 'ERR_INVALID_URL': Invalid URL: 139.61.212.166/docker-test/dev
Running docker ps
in my DO droplet shows that my prisma server is running.thecrazyhoodie
01/23/2019, 6:07 PMts
const macroExists = await this.client.prisma.$exists.macro({ key });
graphql
type Macro {
key: String! @unique
value: String!
author: String!
}
Error
(node:381) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined
or null to object
at Function.keys (<anonymous>)
at Client.extractPayload (/mnt/d/thecrazyhoodiebot/node_modules/prisma-client-lib/dist/Client.js:246:24)
at Client.<anonymous> (/mnt/d/thecrazyhoodiebot/node_modules/prisma-client-lib/dist/Client.js:115:52)
at step (/mnt/d/thecrazyhoodiebot/node_modules/prisma-client-lib/dist/Client.js:47:23)
at Object.next (/mnt/d/thecrazyhoodiebot/node_modules/prisma-client-lib/dist/Client.js:28:53)
at fulfilled (/mnt/d/thecrazyhoodiebot/node_modules/prisma-client-lib/dist/Client.js:19:58)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
(node:381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
pong
01/23/2019, 6:41 PMjdoyle112
01/23/2019, 6:49 PMjdoyle112
01/23/2019, 7:11 PMKamehaMehdi
01/23/2019, 7:32 PM