allpwrfulroot
02/28/2018, 2:58 AMFi1osof
02/28/2018, 9:40 AMFi1osof
02/28/2018, 9:41 AMmlukaszczyk
02/28/2018, 10:22 AMMoritz
02/28/2018, 11:43 AMMoritz
02/28/2018, 11:51 AMsubscription{
game{
mutation
node{
id
}
}
}
with backend resolver implementation
game: {
subscribe: async (parent, args, ctx, info) => {
return ctx.db.subscription.game({}, info)
}
}
gives
Request to <https://eu1.prisma.sh/>...
query:
subscription ($_where: GameSubscriptionWhereInput) {
game(where: $_where) {
mutation
node {
id
}
}
}
operationName: null
variables:
{}
in the backend console. When I create a new game, nothing happensjengover
02/28/2018, 12:41 PMjengover
02/28/2018, 12:41 PMjengover
02/28/2018, 12:41 PMpratikt
02/28/2018, 12:41 PMjengover
02/28/2018, 12:43 PMAlex
02/28/2018, 1:33 PMrein
02/28/2018, 2:22 PMericsonluciano
02/28/2018, 2:45 PMlucid_frog
02/28/2018, 2:54 PMprisma deploy
?
It seem to be a typescript issue on a prisma-generated .ts file 😕iamclaytonray
02/28/2018, 3:00 PMprisma.yml
to find any /**/*.graphql
file to combine for the generated
files?user
02/28/2018, 3:03 PMhttps://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾
prisma deploy
prints out comments in both prisma.graphql
and prisma.ts
files.
This is the comment throwing an error:
"""
The `Long` scalar type represents non-fractional signed whole numeric values.
Long can represent values between -(2^63) and 2^63 - 1.
"""
scalar Long
The prisma.ts
file breaks because of the two ” ` " around Long
.Vendicto
02/28/2018, 3:34 PMuser
02/28/2018, 4:17 PMhttps://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾
graphql-static-binding
to replace these quotes afaikuser
02/28/2018, 4:18 PMhttps://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾
user
02/28/2018, 4:19 PMhttps://prisma.slack.com/files/U9DU23SR5/F9FJKCN3A/screen_shot_2018-02-28_at_9.53.02_am.png▾
lucid_frog
02/28/2018, 4:24 PMnpm install -g prisma
=> v 1.3.0 and had to install prisma-cli
to make it work, do you know the difference between prisma
& prisma-cli
?pasa
02/28/2018, 4:35 PMKATT
02/28/2018, 6:28 PMproduction
stage? i’m using the typescript advanced as a base.
prisma deploy --stage production
just redeploys my dev
stagejakethrog
02/28/2018, 7:13 PMlastmjs
02/28/2018, 7:16 PMsorenbs
patrick_madx
02/28/2018, 9:41 PMbobbyt
02/28/2018, 10:20 PMFitch
03/01/2018, 5:18 AM