Skip to content
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

[SKRB-159] feat: Club 생성 관련 세부 기능 구현, dto 구체화 #14

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

choi5798
Copy link
Member

@choi5798 choi5798 commented Oct 25, 2023

💠 Jira 티켓 링크

🖥️ 작업 내용

  • Club 생성 관련 컨트롤러, 서비스, 레포지토리 작성 및 기능 구현
  • Club 생성 요청 dto 구체화

✅ PR시 확인 사항

  • 테스트 코드 작성
  • Linear History 여부

📢 리뷰어 전달 사항

@choi5798 choi5798 added the FEAT feature label Oct 25, 2023
@choi5798 choi5798 self-assigned this Oct 25, 2023
@choi5798 choi5798 force-pushed the feat/SKRB-159 branch 2 times, most recently from f0d3b56 to 6926730 Compare October 25, 2023 09:56
Copy link
Member

@juno-junho juno-junho left a comment

Choose a reason for hiding this comment

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

이전 pr 리뷰만 반영 부탁해요 !! 👍

Copy link
Collaborator

@hyeon-z hyeon-z left a comment

Choose a reason for hiding this comment

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

👍 comment확인하시고 답변 부탁드립니다~!

Comment on lines +28 to +29
Club createdClub = service.createClub(newClub);
Long id = createdClub.getId();
Copy link
Collaborator

Choose a reason for hiding this comment

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

return한 후 id만 사용할 것이라면 엔티티를 return하는 이유가 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

한줄에 여러 점을 찍지 않는다는 디미터의 법칙을 준수하기 위해 엔티티 획득후 id 획득으로 코드를 분리하였습니다

@choi5798 choi5798 merged commit 4e72fca into develop Oct 26, 2023
1 check passed
@choi5798 choi5798 deleted the feat/SKRB-159 branch October 26, 2023 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants