title: Apollo Refetch Query Component with new Variables
body: <p>So I have this Apollo Query Component like this:</p>
  
  <pre><code>&lt;Query
      fetchPolicy='network-only' // also tried without and with 'no-cache'
      query={GET_MENUS}
      variables={{
          foo // This has the default value of the state
      }}
  &gt;
      {({ loading, error, data, refetch }) =&gt; {
  
        // Display Data here
  
        // We have an Imput here that can change the State of Bar in the parent Component
        &lt;Button
            onPress={() =&gt; {
                /*refetch({
                    foo: { bar}
                }); */
                setBar(blubb); // I am using react hooks (useState)
            }}
            text='Refresh!'
        /&gt;
        }
      )}
  &lt;/Query&gt;
  </code></pre>
  
  <p>I tried to refetch by using the refetch method and also by just updating the state. Actually I checked the Apollo Server and in both methods the new variables get passed, but the new Data is not updated. The funny thing is, that if I just use another default value in the state, it works fine. I also tried different fetch-policies without any luck.</p>
  
  <p>I thought it should be quite basic, but I didn't find any solution so far...</p>
  
  <p>So how do I get data with my new variables?</p>
  
  <p>EDIT:</p>
  
  <p>GET_MENUS is a bit complicated, but this is the whole thing. I am passing the variables into different resolvers, because they are nested. The Foo Bar thingy is the "daily" variable</p>
  
  <pre><code>const GET_MENUS = gql`
      query getMenus($lat: Float!, $lng: Float!, $daily: Daily) {
          getMenus(lat: $lat, lng: $lng) {
              distance
              location {
                  _id
                  street
                  streetNumber
                  plz
                  city
                  coordinates
                  shopIDs {
                      name
                      togo
                      shopType
                      menus(daily: $daily) {
                          _id
                          name
                          price
                          hot
                          sweet
                          togo
                          allergies
                          components
                      }
                  }
              }
          }
      }
  `;
  </code></pre>