title: Is it possible to cancel a graphql query inside config.options?
body: <p>Let's say I have this portion of code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export default graphql(MyQuery, {
    options: (props) =&gt; ({
      variables: {
        var1: props.var1,
        var2: props.var2,
        var3: props.var3
        /* I want to do this: 
           if (props.var4 == "Donot query") /* Cancel this query; */
        */
      }
    })
  })(DumbComponent)</code></pre>
  </div>
  </div>
  </p>
  
  <p>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 &amp; 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.</p>
  
  <p>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.</p>
  
  <p>However, doing so will require Redux to be aware of specific graphql query, creating a tight coupling.</p>