title: Getting error : Unknown argument "id" on field "user" of type "Query" [GraphQL, Relay, React]
body: <p>We are forming a query in relay. We have user database set as follows:</p>
  
  <hr>
  
  <pre><code>function User(id, name, des) {
    this.id = id.toString()
    this.name = name
    this.des = des
  }
  
  var users = [new User(1, 'abc', 'Hello abc'), new User(2, 'xyz', 'Hello xyz')]
  
  module.exports = {
    User: User,
    getAnonymousUser: function() {return users[0] }
  }
  </code></pre>
  
  <hr>
  
  <p>Our schema.js file is as follows:</p>
  
  <pre><code>var nodeDefinitions = GraphQLRelay.nodeDefinitions(function(globalId) {
    var idInfo = GraphQLRelay.fromGlobalId(globalId)
    if (idInfo.type == 'User') {
      return db.getUser(idInfo.id)
    } 
    return null
  })
  
  
  var userType = new GraphQL.GraphQLObjectType({
    name: 'User',
    description: 'A person who uses our app',
    isTypeOf: function(obj) { return obj instanceof db.User },
  
    fields: function() {
      return {
        id: GraphQLRelay.globalIdField('User'),
        des: {
          type: GraphQL.GraphQLString,
          description: 'The des of the user',
        },
        name: {
          type: GraphQL.GraphQLString,
          description: 'The name of the user',
        }
      }
    },
    interfaces: [nodeDefinitions.nodeInterface],
  })
  
  module.exports = new GraphQL.GraphQLSchema({
    query: new GraphQL.GraphQLObjectType({
      name: 'Query',
      fields: {
        node: nodeDefinitions.nodeField,
        user: {
          type: userType,
          resolve: function() { return db.getAnonymousUser() },
        },
      },
    }),
  })
  </code></pre>
  
  <hr>
  
  <p>we have created our relay container as:</p>
  
  <pre><code>exports.Container = Relay.createContainer(App, {
    fragments: {
      user: () =&gt; Relay.QL`
          fragment on User {
              name
          }
      `,
    },
  })
  
  exports.queries = {
    name: 'AppQueries',
    params: { 
     userID: '1',
    },
    queries: {
      //user: () =&gt; Relay.QL`query { user }`,
      user: () =&gt; Relay.QL `query { user(id: $userID) }`
    },
  }
  </code></pre>
  
  <hr>
  
  <p>But we are not able to get the user by userId and getting following error on running npm run build command:</p>
  
  <p>Error: Unknown argument "id" on field "user" of type "Query".
  File:  App.js
  Source:
  ></p>
  
  <blockquote>
    <p>query App { user(id: $userID) }
                     ^^^</p>
  </blockquote>
  
  <p>-----------------------<code>enter code here</code></p>
  
  <p>Can someone help us on this issue?</p>