Open maxmwang opened 4 months ago
When querying schedules by user/id (schedulesByUser schedulesById), the Schedule type should return lists of Course, not IDs of Courses. Then, when the frontend queries for a schedule, they would not have to populate that data through another query.
schedulesByUser
schedulesById
Schedule
Course
When querying schedules by user/id (
schedulesByUser
schedulesById
), theSchedule
type should return lists ofCourse
, not IDs of Courses. Then, when the frontend queries for a schedule, they would not have to populate that data through another query.