Let's say I have this portion of code:

```js
export default graphql(MyQuery, {
  options: (props) => ({
    variables: {
      var1: props.var1,
      var2: props.var2,
      var3: props.var3
      /* I want to do this: 
         if (props.var4 == "Donot query") /* Cancel this query; */
      */
    }
  })
})(DumbComponent)
```

Is it possible to do this?
Reason is my props is injected by Redux store. Some of the query needs a combination of changes to var1 & var2 for example to fetch the correct data. However, sometimes some action will change only var1 in Redux, and that will trigger the graphql query and yield incorrect data. For those cases, I want to cancel the query.

I know this problem can be solved by design. Meaning we can create a set of variables required for the query separately in Redux, and any action touches this set, need to touch individual in the set.

However, doing so will require Redux to be aware of specific graphql query, creating a tight coupling.