title: GraphQL Front-end React
body: <p>I created the variable to receive the GraphQL requisition</p>
  <pre><code>const users = gql`
    getCompanyById(id: &quot;Jwx7C2RAekf1XZmUf9kX&quot;) {
      __typename
      ... on Company {
        name
        usersConnection(first: 10) {
          edges {
            node {
              id
              firstName
              lastName
              phone
              email
              cpf
            }
          }
        }
      }
    }
  `;
  </code></pre>
  <p>But at front-end throw this error.</p>
  <pre><code>GraphQLError: Syntax Error: Unexpected Name &quot;getCompanyById&quot;.
  </code></pre>