Skip to content

Conversation

@lkw9241
Copy link
Collaborator

@lkw9241 lkw9241 commented Oct 1, 2025

📢 기능 설명

DTO 수정 및 SQL 변경, CocktailShareController 리펙토링

연결된 issue

close #203



🩷 Approve 하기 전 확인해주세요!

  • DTO 수정 및 SQL 변경,
  • CocktailShareController 리펙토링

✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 이슈넘버를 적었는가?

@lkw9241 lkw9241 self-assigned this Oct 1, 2025
@lkw9241 lkw9241 added fix 버그 수정 refactor 코드 리팩토링 labels Oct 1, 2025
);
return ResponseEntity.ok(RsData.successOf(response));
})
.orElseGet(() -> ResponseEntity.status(HttpStatus.NOT_FOUND)
Copy link
Collaborator

Choose a reason for hiding this comment

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

칵테일이 없는 경우는 없을 거라서 예외 발생이 필요없어진 거죵?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

orElseGet()을 제거한 이유는 Service에서 칵테일이 없으면 orElseThrow예외를 던지도록 구조를 바꾸었기 때문입니당.

@lkw9241 lkw9241 merged commit bee84b1 into dev Oct 1, 2025
1 check passed
@lkw9241 lkw9241 deleted the fix#203 branch October 1, 2025 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 버그 수정 refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix]프론트 요청 데이터 추가 및 Dto 수정

3 participants