Skip to content

Add GetAllContests and enhance submission handling#36

Merged
SeifMohmmed merged 1 commit into
masterfrom
feature/get-all-contests
May 31, 2026
Merged

Add GetAllContests and enhance submission handling#36
SeifMohmmed merged 1 commit into
masterfrom
feature/get-all-contests

Conversation

@SeifMohmmed
Copy link
Copy Markdown
Owner

Changes:

  • Added GetAllContests endpoint to retrieve all contests.
  • Implemented supporting Query, Handler, Repository Method, and Response DTO for contest retrieval.
  • Refactored submission pipeline to load Problem, Contest, and Test Cases in a single query.
  • Added validation to prevent submissions when a contest is not started or already ended.
  • Introduced new contest validation errors: NotStarted and Ended.
  • Integrated File Service abstraction for reading submitted code.
  • Simplified submission entity creation and improved timestamp/status handling.
  • Improved repository queries, DTOs, mappings, and overall type safety.

Copilot AI review requested due to automatic review settings May 31, 2026 14:33
@SeifMohmmed SeifMohmmed merged commit 205db19 into master May 31, 2026
1 of 2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants