Skip to main content

Semester

No description

type Semester implements Record {
id: ID!
startDate: Date
withdrawDate: Date @deprecated
endDate: Date
courses: [Course!]!
}

Fields

id ● ID! non-null scalar common

startDate ● Date scalar common

endDate ● Date scalar common

courses ● [Course!]! non-null object common @complexity @auth

Courses for the semester.

This has an additional cost of 2 points.

This requires the current user to be in ADMIN role.

Show deprecated

Interfaces

Record interface common

Example

{
"id": 1,
"startDate": "1970-01-01",
"withdrawDate": "1970-01-01",
"endDate": "1970-01-01",
"courses": [
{
"id": 5,
"title": "GraphQL Markdown",
"updatedAt": "1970-01-01"
}
]
}