[Feat/#20] - 사용자 공개 프로필 조회, 닉네임 수정 기능 구현#21
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors user management by separating account-related actions from profile-related actions. It introduces a new UserProfileController and UserProfileService to handle profile viewing and updates, while UserController is now focused on account settings like nickname updates. Key changes include renaming fields in DTOs, adding new response/request objects, and updating the User entity. Feedback focuses on improving API consistency by consolidating profile endpoints, removing redundant validation annotations in the service layer, and refactoring duplicated logic for user retrieval and ID parsing.
|
username이랑 nickname 두 필드가 각각 어떤 역할인지 궁금합니다! 피그마 확인해 보니 처음에 실명으로 회원가입을 진행하고, 후에 닉네임(실명)을 수정하는 방식 같은데 그럼 둘 중 하나만 있어도 괜찮지 않을까 해서요...! 혹시 nickname이 카카오 로그인을 할 때 가져오는 값을 저장하는 필드인 걸까요? PATCH/nickname은 nickname 필드를, PATCH/profile은 username/bio/프로필이미지를 각각 수정하는 걸로 이해했는데, 피그마에서 두 API가 각각 어느 화면에서 호출되는지 궁금합니다. |
넵 맞습니다! username은 사용자가 제출하는 실명, nickname은 기존 카카오 로그인 사용자 닉네임입니다. 재희님 피드백 보고 피그마 다시 보니 굳이 nickname이 들어갈 필요가 없는 것 같네요.. 사용자가 제출하는 실명인 username만 있는 것이 깔끔할 것 같아요 수정하겠습니다 피드백 감사해요 !!! |
nickname 필드 삭제, OnBoardingReqDto 삭제 및 InfoUpdateReqDto로 통합
회의 후 수정 사항
|


💻 관련 이슈
✨ 작업 내용
📄 상세 내용
📷 스크린샷
✅ 체크리스트
❕리뷰 요구 사항