wesbos
04/20/2018, 2:22 PMarjunyel
04/20/2018, 2:58 PMrohit
04/20/2018, 3:59 PMgantman
04/20/2018, 6:07 PMgantman
04/20/2018, 6:07 PMsteveb
04/20/2018, 6:24 PMnoahdavis
04/20/2018, 6:42 PMIsaiah Grey
04/21/2018, 2:57 AMdisconnect
several relations that do not match the incoming relations to replace.
Current connection
when created looks like:
const field = await ctx.db.mutation.createField({
data: {
...data,
values: { set: values },
read: {
connect: read.map(role => ({
type: role
}))
},
write: {
connect: write.map(role => ({
type: role
}))
}
}
});
I’m unsure of how to do this kind of update, I’ve played around with the role_some
, role_every
, role_none
, but I’m still rather confused on what each of those mean and how they work specifically. Thanks!!Isaiah Grey
04/21/2018, 2:58 AMTatsuyuki Ishi
04/21/2018, 6:23 AMpicosam
04/21/2018, 12:14 PMplayra
04/21/2018, 5:19 PMwindkomo
04/21/2018, 9:34 PMJoe
04/22/2018, 7:25 AMromshark
04/22/2018, 8:53 AMLydia
04/22/2018, 2:06 PMLeo Nemirovskii
04/22/2018, 2:30 PMnotrab
04/22/2018, 2:37 PMSubscription✖️ The provided query doesn't include any known model name. Please check for the latest subscriptions API.
notrab
04/22/2018, 2:37 PMmrboutte
04/22/2018, 3:26 PMmrboutte
04/22/2018, 3:34 PMLeo Nemirovskii
04/22/2018, 4:05 PMLydia
04/22/2018, 4:29 PMmrboutte
04/22/2018, 4:41 PMmrboutte
04/22/2018, 4:42 PMLydia
04/22/2018, 6:50 PMYour token is invalid. It might have expired or you might be using a token from a different project.
. https://www.graph.cool/forum/t/invalid-token-secret-key-with-multiple-prisma-clusters/3251Jack Peterson
04/22/2018, 10:18 PMtype Person @model {
id : ID! @isUnique
emailAddresses: [String!]! @isUnique
}
For some reason I'm unable to query the emailAddresses because they're lists? It's not even a filter option?Daniel K.
04/22/2018, 10:29 PMstatus: PlayerStatus! @default(value: Idle) @migrationValue(value: Idle)
and I am getting this error, using --force
does not help either
You are creating a required field but there are already nodes present that would violate that constraint.
daniel
04/23/2018, 3:06 AMAnthony Hell
04/23/2018, 5:44 AM