title: Apollo Client relayStylePagination doesn't fetchMore
body: <p>I have implemented <code>relayStylePagination()</code> according to the apollo docs(<a href="https://www.apollographql.com/docs/react/pagination/cursor-based/#relay-style-cursor-pagination" rel="noreferrer">https://www.apollographql.com/docs/react/pagination/cursor-based/#relay-style-cursor-pagination</a>) in the following way:</p>
  <p>index.js:</p>
  <pre><code>const httpLink=new HttpLink({
    uri:'https://api.github.com/graphql',
    headers:{
      authorization: 'Bearer -'
    }
  })
  
  const cache = new InMemoryCache({
    typePolicies: {
      Query: {
        fields: {
          repositories:relayStylePagination()
        },
      },
    },
  });
  
  const client=new ApolloClient({
    link:httpLink,
    cache
  })
  
  ReactDOM.render(
    &lt;ApolloProvider client={client}&gt;
    &lt;React.StrictMode&gt;
      &lt;App /&gt;
    &lt;/React.StrictMode&gt;
    &lt;/ApolloProvider&gt;,
    document.getElementById('root')
  );
  </code></pre>
  <p>App.js:</p>
  <pre><code>const  App=()=&gt; {
  
    const {loading,error,data,fetchMore}=useQuery(GET_REPOSITORIES_OF_CURRENT_USER,{
      variables:{login:&quot;rwieruch&quot;}
    })
  
    if (loading) return &lt;h1&gt;Loading...&lt;/h1&gt;
    if (error) return &lt;p&gt;Error...&lt;/p&gt;
    console.log(data.user.repositories.edges)
    console.log(data)
  
    const pageInfo=data.user.repositories.pageInfo
    console.log(pageInfo)
    return(
      &lt;div&gt;
        &lt;RepositoryList repositories={data.user.repositories} onLoadMore={()=&gt;
             {return fetchMore({
                variables:{
                  after: data.user.repositories.pageInfo.endCursor,
                }
              })}
         }
        /&gt;
      &lt;/div&gt;
    )
  }
  </code></pre>
  <p>How the button is rendered in the Child component:</p>
  <p><code>&lt;button onClick={onLoadMore}&gt;Hey&lt;/button&gt;</code></p>
  <p>And , finally the gql query:</p>
  <pre><code>const GET_REPOSITORIES_OF_CURRENT_USER = gql`
    query getUser($login:String!,$after:String){
    user (login:$login){
      repositories(
        first: 10,
        after:$after
      ) {
        edges {
          node {
            id
            name
            url
            descriptionHTML
            primaryLanguage {
              name
            }
            owner {
              login
              url
            }
            stargazers {
              totalCount
            }
            viewerHasStarred
            watchers {
              totalCount
            }
            viewerSubscription
          }
        }
          pageInfo{
            endCursor
            hasNextPage
        }
      }
    }
  }
  `;
  </code></pre>
  <p>The problem is that when I press the button with the onClick prop corresponding to fetchMore , nothing is fetched. Also, there are no errors in my console- it just doesn't do anything. Can you please let me know why? I have been trying to figure it out for hours now. Thank you!</p>