I'm using Apollo client 3 and trying to build an editable table

I have multiple API mutations and I should trigger the refetchQueries after the last mutation.

For example:

```
  const [updateName] = useMutation(updateNameD)
  const [updateAge] = useMutation(updateAgeD)
  const [updateCity] = useMutation(updateCityD, {refetchQueries: () => [{ query: UsersDocument }],})

```

The issue: the order of the mutations won't be always the same and I need to refetchQueries inside the last mutation