-
Notifications
You must be signed in to change notification settings - Fork 1
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
#2 Calculation of the score #4
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.
Here are only a few suggestions on your code.
If you've got time, you can look at them.
api/src/main/java/com/bjs/bjsapi/controllers/StudentScoreController.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/bjs/bjsapi/database/model/enums/DisciplineType.java
Show resolved
Hide resolved
api/src/main/java/com/bjs/bjsapi/controllers/StudentScoreController.java
Outdated
Show resolved
Hide resolved
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.
I think you already have implemented the logic for summing all sport result scores together (see StudentController 38:54). I think all those greatly implemented.
If you realise those tiny suggestions, I think this will ready to merge
api/src/main/java/com/bjs/bjsapi/controllers/StudentScoreController.java
Outdated
Show resolved
Hide resolved
api/src/test/java/com/bjs/bjsapi/controllers/StudentScoreControllerTest.java
Outdated
Show resolved
Hide resolved
api/src/test/java/com/bjs/bjsapi/controllers/StudentScoreControllerTest.java
Outdated
Show resolved
Hide resolved
api/src/test/java/com/bjs/bjsapi/controllers/StudentScoreControllerTest.java
Outdated
Show resolved
Hide resolved
api/src/test/java/com/bjs/bjsapi/controllers/StudentScoreControllerTest.java
Show resolved
Hide resolved
ab40bed
to
42d01f0
Compare
Co-authored-by: Ayk Borstelmann <borstelmann.ayk@gmail.com>
Co-authored-by: skyliam <liamskydamien@gmail.com>
3a60d49
to
3d12381
Compare
This closes #2 , thank you @skyliam 👍 |
#2 I've already added the frame for the implementation so that you have a point to start.