title: How to pass nested field parameters to a GraphQL query
body: <p>I'm trying to pass a field parameter from a variable. How can I do this when the field is nested? This doesn't seem to work.</p>
  <pre><code>import { gql } from &quot;@apollo/client&quot;;
  
  export const MY_QUERY = gql`
    query MY_QUERY($group: String!, $page: Int!) {
      myGroups(input: {group: $group, page: $page}) {
        
        groups {
          styleA(page: $page) {
            name
          }
        }
        
      }
    }
  `;
  
  
  const {loading: Loading, data : Data, error: Error } = useQuery(MY_QUERY, {
    variables: {
      group: group,
      page: page
    }
  });
  </code></pre>