Orinami
01/19/2018, 8:44 AMOrinami
01/19/2018, 8:44 AMauthenticate
is not nullable, but the resolver returned null.",
"requestId": "eu-west-1simplecjcln7b3qg79e012803k0thn7"
}Orinami
01/19/2018, 8:45 AMMoritz
01/19/2018, 8:46 AMMoritz
01/19/2018, 8:46 AMEmi
01/19/2018, 8:47 AMkitze
01/19/2018, 9:17 AMprisma local start
?
Creating local_prisma-database_1 ... done
▸ (89d5fa22c740b0c42e5ebc2f57622256a14e35aabef3027b0b9a33b5d92a6508): Error starting userland proxy: Bind for 0.0.0.0:3306 failed: port is already allocated
I have tried all the fixes here: https://github.com/docker/for-mac/issues/205
I have tried resetting docker to factory defaults.
I completely uninstalled docker, cleaned all the remaining data on the machine, installed it from scratch. I’m getting the error again. Halp 🙏P_loringhoven
01/19/2018, 9:27 AMMoritz
01/19/2018, 10:10 AMMoritz
01/19/2018, 10:12 AMfabien0102
01/19/2018, 10:28 AMgraphcool-framework
stack and would have to your ideas for this.
My best idea for instant is to have a clone of each model (call ${myModel}History
for example) with a relation to the up to date model (history: [myModelHistory!]!
to have an easy way to retrieve the history of each data).
In my case, I want to have a hook to deal with ${myModel}History
creation on each update (so I need the previous version of my data). If I'm referring to the doc, I can't use Subscription function (it's execute after the mutation), so my question is "can I do this history processing in a hook function?" or if you have a better idea for this use case ^^telmo
01/19/2018, 11:39 AMtelmo
01/19/2018, 11:40 AMuser
01/19/2018, 11:53 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
user
01/19/2018, 11:53 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
telmo
01/19/2018, 11:55 AMtelmo
01/19/2018, 11:55 AMtype User {
id: ID! @unique
email: String! @unique
password: String!
name: String!
campaigns: [Campaign!]! @relation(name: "UserOnCampaign")
}
type Campaign {
id: ID! @unique
name: String!
year: String!
archived: Boolean
author: User! @relation(name: "UserOnCampaign")
}
user
01/19/2018, 11:56 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
telmo
01/19/2018, 11:56 AMtelmo
01/19/2018, 11:56 AMcreateCampaign(name: String!, year: String!, archived: Boolean, author: ...): Campaign
user
01/19/2018, 11:56 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
user
01/19/2018, 11:58 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
user
01/19/2018, 11:58 AMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
telmo
01/19/2018, 12:05 PMuser
01/19/2018, 12:06 PMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
drdaz
01/19/2018, 12:08 PMtelmo
01/19/2018, 12:14 PMdrdaz
01/19/2018, 12:16 PMuser
01/19/2018, 1:30 PMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
user
01/19/2018, 1:32 PMhttps://prisma.slack.com/files/U7AUJD4SV/F8WF5F555/image.png▾
createdAd
and createdBy
following the issues you give to me, and it's perfect 😛 (and maybe find a way to do this less verbose ^^)