Filtering on GraphQL Course Connections
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.
Labels
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.