OBJECT
CourseConnection
A type that describes the return type for the 'courseCatalog' query. 'Course' data can then be accessed via nodes or edges
link GraphQL Schema definition
- type CourseConnection {
- # The total number of 'Course' records available given the constraints of the
- # query.
- # An important note: This number represents the total number of records accross
- # individual requests.
- # i.e. if totalCount were 100 and the 'courseCatalog' query requested only 10
- # results via the 'first' argument in the query,
- # then you could calculate that you would need to make 10 requests to get all 100
- # records available.
- Int :
- # A list of 'Courses's, with the addition of a cursor field that can be used to
- # fetch subsequent pages.
- CourseEdge] : [
- # A list of Course entities
- Course] : [
- # Information needed to fetch subsequent pages.
- PageInfo! :
- }