You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Judge, I should be able to assign myself to a submission to indicate to other judges that I am in the process of reviewing the submission.
On the submissions service (app/challenges-platform/services/submissions-service.ts), we need to create a new method called "assign" that takes submisisonId (uuid) and judgeId (uuid) as arguments.
On app/challenges-platform/models/Submission.ts submissions should have a nullable/optional attribute called assignee of type Judge.
We will need to create the Judge model in app/challenges-platform/models and create a judges table in db/schema.ts
At the database level, submissions will need a nullable foreign key to the judges table.
For the scope of this ticket, only implement the assign method, do not worry about populating assignee in other submission service methods.
The text was updated successfully, but these errors were encountered:
As a Judge, I should be able to assign myself to a submission to indicate to other judges that I am in the process of reviewing the submission.
On the submissions service (
app/challenges-platform/services/submissions-service.ts)
, we need to create a new method called "assign" that takessubmisisonId (uuid)
andjudgeId (uuid)
as arguments.On
app/challenges-platform/models/Submission.ts
submissions should have a nullable/optional attribute calledassignee
of typeJudge
.We will need to create the
Judge
model inapp/challenges-platform/models
and create a judges table indb/schema.ts
At the database level, submissions will need a nullable foreign key to the judges table.
For the scope of this ticket, only implement the
assign
method, do not worry about populatingassignee
in other submission service methods.The text was updated successfully, but these errors were encountered: