title: GraphQLError: Syntax Error: Expected Name, found <EOF>
body: <p>I got the above error on a graphql query, I am using apollo-react by the way and using the Query component for rendering the data</p>
  <p>this is my code</p>
  <pre><code>const GET_VEHICLE_CHECKS = gql`
  query getVehicleChecks($uuid: String!) {
    tripDetails(uuid: $uuid){
      departmentAssigned{
        vehicleChecks{
          conditions{
            id
            name
            standard
            valueType
            spinnerItems
          }
        }
      }
    }
  
  `;
  </code></pre>
  <p>and this is what my actual query looks like</p>
  <pre><code>{
    tripDetails(uuid: &quot;c0e7233093b14afa96f39e2b70c047d8&quot;){
      departmentAssigned{
        vehicleChecks{
          conditions{
            id
            name
            standard
            valueType
            spinnerItems
          }
        }
      }
      vehicleConditions{
        id
        condition{
          id
          standard
        }
        value
      }
    }
  }
  
  </code></pre>
  <p>I tried changing variable names, but that didn't work</p>