-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/party 파티 컨트롤러 수정, 서비스 수정 #72
Conversation
|
||
PartyResponseDTO responseDto = partyService.getPartyDto(partyId); | ||
PartyResponseDTO responseDto = partyService.getPartyDto(hiveId, partyId); |
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.
코드 컨벤션에서 DTO로 사용하기로 했는데, Dto로 사용하신 이유가 있으신가요?
Party party = partyRepository.findById(partyId) | ||
.filter(p -> !p.isDeleted()) // 삭제 되지 않은 파티만 필터링 | ||
.orElseThrow(PartyNotFoundException::new); | ||
public PartyResponseDTO getPartyDto(Long hiveId, Long partyId) { |
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.
코드 컨벤션에서 DTO로 사용하기로 했는데, Dto로 사용하신 이유가 있으신가요?
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.
고생하셨습니다
No description provided.