Hey everyone, I've got a question concerning funct...
# prisma-whats-new
p
Hey everyone, I've got a question concerning functions on Graphcool. I have the following scenario: I have a list with listentries and each of those listentries has its own position in relation to the other listentries of that specific list. Now I want to implement the following feature: I want to change the position of certain listentries, which means on the other hand, that I have to change the position of the other listentries of that list as well. This goes for changes of certain listentries as well as for the creation (with position: 1) and deletion. Now my question: Is it possible to use a function to set those values, when another listentry of the same list (identified by its ID) is changed, created, deleted or do I have to make those changes locally and create a mutation for every single listentry? Thanks everyone in advance! 🙂
Please write in the thread, so I can see your answer. 🙂