Moritz
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 happensmedelman
02/28/2018, 11:57 AMMoritz
02/28/2018, 11:58 AMmedelman
02/28/2018, 11:59 AMMoritz
02/28/2018, 11:59 AMmedelman
02/28/2018, 12:01 PMMoritz
02/28/2018, 12:03 PMmedelman
02/28/2018, 12:04 PMnilan
02/28/2018, 12:10 PMMoritz
02/28/2018, 12:20 PMnilan
02/28/2018, 12:21 PMnilan
02/28/2018, 12:21 PMnilan
02/28/2018, 12:22 PMMoritz
02/28/2018, 12:52 PMMoritz
02/28/2018, 1:10 PMFirefox canโt establish a connection to the server at <wss://eu1.prisma.sh/public-scarlettaker-482/subscriptions-example/dev>.
I double checked the tokens and all. Ill create a git repo so you can reproduce...Moritz
02/28/2018, 1:23 PMMoritz
02/28/2018, 1:23 PMnilan
02/28/2018, 1:30 PMMoritz
02/28/2018, 1:36 PMMoritz
02/28/2018, 1:37 PMnilan
02/28/2018, 1:46 PMMoritz
02/28/2018, 3:33 PMnilan
02/28/2018, 3:48 PMMoritz
02/28/2018, 7:55 PM