Skip to content

Conversation

@minmin02
Copy link
Contributor

@minmin02 minmin02 commented Nov 2, 2025

  1. 워크북 실습 ( test 진행)
  2. ReviewException을 통한 예외처리
  3. global에서 만든 성공 메서드 추가

@minmin02 minmin02 merged commit 4d99b31 into develop Nov 9, 2025
1 check passed
Copy link

@ggamnunq ggamnunq left a comment

Choose a reason for hiding this comment

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

good

.orElseThrow(() -> new ReviewException(ReviewErrorCode.MEMBER_NOT_FOUND));

// 평점값 유효성 검사
if (rating != null && (rating < 1 || rating > 5)) {

Choose a reason for hiding this comment

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

null인 것과 페이지 유효성 검사는 나누는게 좋을듯 합니다.
이렇게 두면 null이어서 안되는건지, 값이 잘못된건지 구분하기 힘들어요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants