Closed gor-gevorgyan closed 2 years ago
gor-gevorgyan - in canvas-lms/app/graphql/interfaces/assignments_connection_interface.rb:50
If you don't supply a grading_period_id for assignments, it uses the current grading period id. Since neither of your grading periods is currently active, it appears it's not giving you anything.
If you don't have grading periods at all, it still returns assignment data.
thank you @Ardena
query MyQuery { course(id: "117") { assignmentGroupsConnection { nodes { _id name state groupWeight assignmentsConnection { nodes { _id name } } } pageInfo { hasNextPage } } } }
assignments connection doesn't return any data for any course