-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update project's best execution in a contest when execution is finished #1162
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.
...backend/src/test/kotlin/com/saveourtool/save/backend/service/LnkContestProjectServiceTest.kt
Fixed
Show fixed
Hide fixed
...backend/src/test/kotlin/com/saveourtool/save/backend/service/LnkContestProjectServiceTest.kt
Fixed
Show fixed
Hide fixed
...backend/src/test/kotlin/com/saveourtool/save/backend/service/LnkContestProjectServiceTest.kt
Fixed
Show fixed
Hide fixed
...backend/src/test/kotlin/com/saveourtool/save/backend/service/LnkContestProjectServiceTest.kt
Fixed
Show fixed
Hide fixed
save-cloud-common/src/commonMain/kotlin/com/saveourtool/save/entities/Project.kt
Fixed
Show fixed
Hide fixed
save-cloud-common/src/commonMain/kotlin/com/saveourtool/save/entities/Project.kt
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
"[id=${newExecution.id},score=$newScore]" | ||
} | ||
lnkContestProject.bestExecution = newExecution | ||
lnkContestProject.bestScore = newExecution.score |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need bestScore
as separate field on lnkContestProject
now? it can be replaced to bestExecution?.score
@Import
to@MockBeans
Part of #1115