For me are subscriptions in prisma really unstable...
# prisma-whats-new
t
For me are subscriptions in prisma really unstable at the moment 😞 does anyone has the same problem?
n
might you experience this problem:https://github.com/graphcool/prisma/issues/1734? can you clarify what you exactly mean with unstable?
t
nope one of some problems e.g.: my application is connecting with a subscription -> yarn debug breakpoint is ok so i sea it gets connected
than i trigger an update -> nothing happens
after that i do again a subscription via playground -> second subscription
and than after an update the subscription is triggerd for both
but for both only with the data like in the second subscription query
2ten seams to be like subscriptions are not correctly closed -> thats why sometimes i receive an event multiple times
n
Can you reproduce the same behaviour when connecting directly to the Prisma WS endpoint? Without using
prisma-binding
in between
t
let me try
hehe ok where can i change it?
i have a docker instance
n
you would connect directly to the prisma endpoint, for example by adjusting this snippet: https://gist.github.com/marktani/5df524523693c88be425bfb623ca8b8a
t
ah ok you mean e.g. this one
n
t
yes of course 😉 but ok right endpoint
n
yep
t
ok just a second
ok connection seams to work now from the beginning
but the result is still wrong