Skip to content

[Backend] - 355 submission repository get method - #358

Merged
thomasdejaeghere merged 3 commits into
developmentfrom
355-submission-repository-get-method
Apr 1, 2025
Merged

[Backend] - 355 submission repository get method#358
thomasdejaeghere merged 3 commits into
developmentfrom
355-submission-repository-get-method

Conversation

@brieromb

@brieromb brieromb commented Mar 29, 2025

Copy link
Copy Markdown
Contributor

Added 2 methods in the submission repository:

public abstract getAllForStudentInAssignmentStep(
    studentId: string,
    assignmentId: string,
    learning_object_id: string,
): Promise<Submission[]>;

-> gets all the submissions that a student made for a certain step in an assignment.

public abstract getByStudentId(studentId: string): Promise<Submission[]>;

-> gets all the submissions that a student made for any step in any assignment.

@brentjan brentjan changed the title 355 submission repository get method [Backend] - 355 submission repository get method Apr 1, 2025
@thomasdejaeghere
thomasdejaeghere merged commit dcb446a into development Apr 1, 2025
@thomasdejaeghere
thomasdejaeghere deleted the 355-submission-repository-get-method branch April 1, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants