title: Use Query Result as Argument in Next Level in GraphQL
body: <p>Hullo everyone,</p>
  
  <p>This has been discussed a bit before, but it's one of those things where there is so much scattered discussion resulting in various proposed "hacks" that I'm having a hard time determining what I should do.</p>
  
  <p>I would like to use the result of a query as an argument for another nested query.</p>
  
  <pre><code>query {
    allStudents {
      nodes {
        courseAssessmentInfoByCourse(courseId: "2b0df865-d7c6-4c96-9f10-992cd409dedb") {
          weightedMarkAverage
          // getting result for specific course is easy enough
        }
        coursesByStudentCourseStudentIdAndCourseId {
          nodes {
            name
            // would like to be able to do something like this
            // to get a list of all the courses and their respective
            // assessment infos
            assessmentInfoByStudentId (studentId: student_node.studentId) {
              weightedMarkAverage
            }
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>Is there a way of doing this that is considered to be best practice?
  Is there a standard way to do it built into GraphQL now?</p>
  
  <p>Thanks for any help!</p>