-
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
[feat] #53 - 상품 상세 정보 조회 api #87
Conversation
커밋 0e0c6c3는 신경쓰지 않으셔도 됩니닷 |
public record StoreReviewDto( | ||
Long reviewId, | ||
String reviewerNickname, | ||
float rating, |
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.
int로 바꾸기
public record ProductDetailResponse( | ||
boolean isInterested, | ||
|
||
@JsonProperty("productDetail") |
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.
이렇게 반환 필드명 정의하는 것 좋네요~
@@ -16,18 +16,17 @@ | |||
|
|||
@Component | |||
@RequiredArgsConstructor | |||
@Transactional(readOnly = true) |
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.
retriever에 붙이는 건 좋지만 다른 클래스는 웬만하면 위에 붙이지 않도록 합시당
책임 분리도 잘 돼있고 잘 구현해내신 것 같습니다!! 굿입니다👍 |
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.
nice code~
Related issue 🛠
Work Description ✏️
각 큰 필드마다 dto를 만들어서 합치는 식으로 구현하였습니다.
상품 등록자 관련 review는 개수제한을 두지 않고 모두 가져옵니다.
리뷰가 없으면 빈 리스트를 가져옵니다.
판매자의 상품 중 trade status가 TRADE_COMPLETED인 것으로 transaction count를 하였습니다.
Trouble Shooting ⚽️
Related ScreenShot 📷
Uncompleted Tasks 😅
To Reviewers 📢