HEy all, I am trying to play around with some subs...
# prisma-whats-new
a
HEy all, I am trying to play around with some subscription code. And I got almost everything working, but for some reason, when I get new data from a subscription update, something weird happens. So, I will have
Copy code
[ {id: “AB”, <some value 1>}, 
  {id: “CD”, <some value 2>},
  {id: “EF”, <some value 3>} }
And then I get an update response. And the new contents of my data variable is
Copy code
[ {id: “AB”, <some value 1>}, 
  {id: “AB”, <some value 2>},
  {id: “CD”, <some value 3>},
  {id: “EF”, <some value 4>} }
n
@alphy Can you show your code and queries/mutations?
a
The issue was that my subscription query didn’t have the id node requested. So it seems it was just filled in with an old one.
But thanks for the help offer 🙂