#import "../fragments/schoolClassParts.gql"
query AssignmentWithSubmissions($id: ID!) {
  assignment(id: $id) {
    title
    solution
    assignment
    submissions {
      id
      text
      document
      student {
        firstName
        lastName
        schoolClasses {
          edges {
            node {
              ...SchoolClassParts
            }
          }
        }
      }
      submissionFeedback {
        id
        text
        final
      }
    }
  }
}
