title: GraphQL gql Syntax Error: Expected Name, found }
body: <p>I'm attempting to set up Apollo GraphQL support in a new React project, but when I try to compile a query using <code>gql</code> I keep receiving the error:</p>
  <blockquote>
  <p>Syntax Error: Expected Name, found }</p>
  </blockquote>
  <p>This is generated by the following code:</p>
  <pre><code>import gql from 'graphql-tag'
  
  const query = gql`
      {
        user(id: 5) {
          firstName
          lastName
        }
      }
    `
  
  console.log(query)
  </code></pre>
  <p>I'm basing this code off the example code found here: <a href="https://github.com/apollographql/graphql-tag" rel="noreferrer">https://github.com/apollographql/graphql-tag</a></p>
  <p>What is the <code>Name</code> referred to in the error message? Does anyone know what I'm doing wrong here?</p>