Skip to content

Refactor/member#33

Merged
sudo-Terry merged 3 commits intomainfrom
refactor/member
Jul 2, 2025
Merged

Refactor/member#33
sudo-Terry merged 3 commits intomainfrom
refactor/member

Conversation

@mjkhub
Copy link
Copy Markdown
Contributor

@mjkhub mjkhub commented Jun 30, 2025

프로필 페이지 API 와 관련된 코드를 조금 다듬었습니다.

컨트롤러에서 직접 DTO를 생성하던 부분을 파서를 도입하여 코드를 다듬었습니다.

그리고, 사용하지 않는 코드와 메서드 명을 더 직관적으로 바꾸었습니다.

@mjkhub
Copy link
Copy Markdown
Contributor Author

mjkhub commented Jun 30, 2025

추가적으로, 제가 개발한 API 리팩토링은 모두 끝났습니다!

기훈님이 개발하신 부분 조금 맡아서 리팩토링 진행해볼까요?

이제 하루 혹은 이틀 정도만 다듬으면 끝날 것 같네용

@sudo-Terry sudo-Terry self-requested a review July 2, 2025 04:19

@Query("SELECT eb.id FROM EmotionBand eb where eb.creator.id =:memberId")
List<Long> findEmotionBandIdListByCreator(Long memberId);
List<Long> findPkListByCreator(Long memberId);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

PK로 표현을 하시는군요ㅎㅎ

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

흠 당시에는 메소드 명이 길어서 수정해봤는데, 지금보니까 그냥 원래대로 두는게 더 나아보이네요.. ㅎ

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

개인적으로 snake_case에 좀 더 익숙한데 camelCase가 길어지면 유난히 더 길어보이고 잘 안읽히는 것 같아요

Copy link
Copy Markdown
Member

@sudo-Terry sudo-Terry left a comment

Choose a reason for hiding this comment

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

고생 많으셨습니다~ 제 파트도 오늘 이어서 해볼께요!

@sudo-Terry sudo-Terry merged commit 335e987 into main Jul 2, 2025
1 check passed
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.

2 participants