title: Get data from parent node on field resolver
body: <p>So what I'm trying to do its to make a <code>GraphQL</code> like this if possible:</p>
  
  <pre><code>{
    people {
      _id
      name
      acted {
        _id
        title
        coactors {
          name
        }
      }
    }
  }
  </code></pre>
  
  <p>So what I'm doing, it's getting actors (people), then get the movies they acted, that works fine. So then I'm trying to get the co-actors in that movie. I'm thinking to pass the current actor's id to the co-actors field as an argument like this: </p>
  
  <pre><code>{
    people {
      _id
      name
      acted {
        _id
        title
        coactors(actor: people._id) {
          name
        }
      }
    }
  }
  </code></pre>
  
  <p>Obviously, I'm getting an error and don't know if that could be made internally.</p>
  
  <p>So here are my Types:</p>
  
  <pre>
  const MovieType = new GraphQLObjectType({
      name: 'movie',
      fields: () => ({
          _id: {
              type: GraphQLInt
          },
          title: {
              type: GraphQLString
          },
          tagline: {
              type: GraphQLString
          },
          released: {
              type: GraphQLInt
          },
          actors: {
              type: new GraphQLList(PersonType),
              resolve: (movie) => {
                  return [];
              }
          },
          coactors: {
              type: new GraphQLList(PersonType),
              args: {
                  actor: {
                      type: GraphQLInt
                  }
              },
              resolve: (movie, args) => {
                  getCoActorsFor(movie, args.actor) // How can I do something like this
                      .then((actors) => {
                          return actors;
                      })
              }
          }
      })
  });
  
  const PersonType = new GraphQLObjectType({
      name: 'person',
      fields: ()=> ({
          _id: {
              type: GraphQLInt
          },
          name: {
              type: GraphQLString
          },
          born: {
              type: GraphQLInt
          },
          acted: {
              type: new GraphQLList(MovieType),
              resolve: (person) => {
  
                  return [];
  
              }
          }
      })
  });
  </pre>