Skip to content

Conversation

@choiseoji
Copy link
Contributor

✨ 연관된 이슈

close #14


📝 작업 내용 (주요 변경 사항)

  • 회원 정보 수정 API 구현 (memberService - updateMemberInfo)
  • 파일 삭제 로직 구현 (fileService - deleteImage)
  • @Login 어노테이션에 무조건 아이디 1 번인 멤버 반환하도록 수정해두었습니다 (테스트용!)

💬 리뷰 요구사항

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

테스트코드에서 뭘 검증하면 좋을지 아직 잘 모르겠어요 ,,

@choiseoji choiseoji requested a review from west-eastH July 15, 2025 15:36
@choiseoji choiseoji self-assigned this Jul 15, 2025
@choiseoji choiseoji added the ✨feat 기능 개발 시 label Jul 15, 2025
@github-actions
Copy link

Test Coverage Report

Overall Project 47.41% -3.9% 🍏
Files changed 50% 🍏

File Coverage
MemberInfoRequest.java 100% 🍏
Member.java 100% 🍏
MemberServiceImpl.java 100% 🍏
FileService.java 8.99% -11.99%
FileException.java 0% -12.5%
FileErrorCode.java 0% -27.12%
MemberController.java 0% -52.17%


public record MemberInfoRequest(
@Nullable
@Schema(description = "성별", example = "FEMALE / MALE", nullable = true)
Copy link
Contributor

Choose a reason for hiding this comment

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

성별은 변경 안되는거 어떤가요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이거 피그마보고 한건데 그럼 디자이너 분들께 성별은 빼달라고 말할게요..!

@Transactional
public void updateMemberInfo(Member member, String imageStatus, MultipartFile image, MemberInfoRequest data) {

switch (imageStatus) {
Copy link
Contributor

Choose a reason for hiding this comment

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

깔꼼하다👍

@west-eastH
Copy link
Contributor

지금은 간단하지만 조금 더 복잡한 로직이 나오면 그때 뭘 테스트 해야할 지 작성한 본인이 제일 잘 알지 않을까요!

@choiseoji
Copy link
Contributor Author

지금은 간단하지만 조금 더 복잡한 로직이 나오면 그때 뭘 테스트 해야할 지 작성한 본인이 제일 잘 알지 않을까요!

오호..알겠습니다
더 공부해볼게요 ㅎ.ㅎ

@west-eastH west-eastH merged commit f5605f7 into develop Jul 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨feat 기능 개발 시

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨feat : member API

3 participants