Hey, i’m trying to use subscriptions, but I don’t ...
# prisma-whats-new
e
Hey, i’m trying to use subscriptions, but I don’t seem to quite understand what types of actions triggers the mutations events. So i have a model “User” and a model “Lobby”, when i make a relation using mutation “AddToUserOnLobby” it doesn’t trigger an updated event, and therefore my subscribers does not get notified. Any ideas on how to achieve this ?
n
@emilrmoeller hey, relation triggers are currently not supported! You can get around this by using a nested create for example though
e
Hey Nilan, alright! I think i’ll just make a “dummy” updated mutation when i receive the success message from created user 🙂
👍 1
Thanks, i got it working 🙂 Enjoy the day!
❤️ 1
n
Awesome 👍