title: How to Subscribe to All GraphQL Mutations in AWS-Amplify Vue Components?
body: <p>I am trying to subscribe to changes on <code>delete</code>, <code>create</code> and <code>update</code> mutations.</p>
  
  <p>In my GraphQL schema, I created a subscription field that listens to all those mutations with <code>type Subscription { onAll: Task @aws_subscribe(mutations: ["createTask","updateTask","deleteTask"]) }</code></p>
  
  <p>Now when tried using amplify-vue components, in case of getting back a response <code>:onSubscriptionMsg=SomeFunction(response)</code> I am receiving old list of tasks from <code>response.data.listOfTasks</code>. </p>
  
  <p>So how should I know which mutation was provoked and thus update the <code>data.listOfTasks</code>?</p>
  
  <p>Thanks a heap in advance for answering this question :)</p>