Filtering on GraphQL Course Connections

0 Likes
(2)

We use GraphQL for data auditing and internal metrics at the institution level.  It would be beneficial if more GraphQL Connections supported filtering.

For example, when retrieving a list of courses for a given term, we would like to filter based upon the course state:

query MyQuery {
  term(id: "1") {
    coursesConnection(filter: { state: "available" }) {
      nodes {
        _id
      }
    }
  }
}

We're currently able to do everything we need to with GraphQL (augmented with REST when necessary), but we often download more data than we want and then later filter out the results we're not interested in.

2 Comments
Stef_retired
Instructure Alumni
Instructure Alumni
Status changed to: Open
 
ProductPanda
Instructure
Instructure
Status changed to: Archived
Comments from Instructure

As part of the new Ideas & Themes process, all ideas in Idea Conversations were reviewed by the Product Team. Any Idea that was associated with an identified theme was moved to the new Idea & Themes space. Any Idea that was not part of the move is being marked as Archived. This will preserve the history of the conversations while also letting Community members know that Instructure will not explore the request at this time.