Skip to content

Task#3 As a talent I want to estimate proofs of other talents by givi…#96

Merged
Denis973 merged 2 commits intoS3.1US1from
Task#3
Apr 19, 2023
Merged

Task#3 As a talent I want to estimate proofs of other talents by givi…#96
Denis973 merged 2 commits intoS3.1US1from
Task#3

Conversation

@Denis973
Copy link

…ng "kudos"

@Denis973 Denis973 added 🐸 backend Tasks for backend team user story #1 Tasks for 1st user story labels Apr 19, 2023
@Denis973 Denis973 added this to the Sprint 3.1 milestone Apr 19, 2023
@Denis973 Denis973 requested review from LordRenDS and Maslyna April 19, 2023 10:57
@Denis973 Denis973 self-assigned this Apr 19, 2023
Copy link

@LordRenDS LordRenDS left a comment

Choose a reason for hiding this comment

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

Nice work

Copy link

@Maslyna Maslyna left a comment

Choose a reason for hiding this comment

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

Not ready yet.

Comment on lines +47 to +48
throw new ResponseStatusException(HttpStatus.FORBIDDEN,
"Talent can give only one “kudos“ for one proof");
Copy link

Choose a reason for hiding this comment

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

In this point you should use 409 status code CONFLICT

@Denis973 Denis973 merged commit bc51161 into S3.1US1 Apr 19, 2023
@Denis973 Denis973 deleted the Task#3 branch April 19, 2023 14:27
Maslyna added a commit that referenced this pull request Apr 19, 2023
* Refactor:
* remove Eager it Talent entity

* Task#1-2 (#93)

* Created Cudos entity and did some DB refactor
* Created 'GET(/proofs/{proof-id}/kudos)' endpoint in KudosController
* Created method 'getAmountKudosProof' in KudosService
* Created KudosRepository and add 'countByProof_Id' method

* Task#3 As a talent I want to estimate proofs of other talents by givi… (#96)

* Task#3 As a talent I want to estimate proofs of other talents by giving "kudos"

* bug fix

* S3.1 us1.task 4 (#97)

* Added don`t working service

* @manytoone relationSHIT

* Code refactor and bugfix

* Transactional

---------

Co-authored-by: Ren <sergeysolovyov2016@gmail.com>
Co-authored-by: Ren <75202059+LordRenDS@users.noreply.github.com>
Co-authored-by: Denis973 <46610112+Denis973@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐸 backend Tasks for backend team user story #1 Tasks for 1st user story

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants