Skip to content

Conversation

@choiseoji
Copy link
Contributor

✨ 연관된 이슈

close #14


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

  • 현재 로그인한 멤버를 주입하는 @Login 어노테이션 만들었습니다! (컨트롤러에서 @Login Member member 이렇게하면 member에 현재 로그인한 유저 객체를 주입합니다)
  • 온보딩 페이지에서 회원 정보 저장하는 API 완료
  • 마이페이지에서 회원 정보 조회하는 API 완료

💬 리뷰 요구사항

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

@choiseoji choiseoji requested a review from west-eastH July 14, 2025 05:59
@choiseoji choiseoji self-assigned this Jul 14, 2025
@choiseoji choiseoji added the ✨feat 기능 개발 시 label Jul 14, 2025
@choiseoji choiseoji linked an issue Jul 14, 2025 that may be closed by this pull request
4 tasks
@github-actions
Copy link

Test Coverage Report

Overall Project 47.12% -2.59% 🍏
Files changed 63.3% 🍏

File Coverage
MemberInfoRequest.java 100% 🍏
Member.java 100% 🍏
MemberServiceImpl.java 100% 🍏
MemberInfoResponse.java 100% 🍏
JoinCrew.java 0% 🍏
MemberException.java 0%
MemberErrorCode.java 0%
MemberController.java 0%

Copy link
Contributor

@west-eastH west-eastH left a comment

Choose a reason for hiding this comment

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

서지님 취업해도 되겠다👍

Comment on lines 22 to 28
@Operation(summary = "유저 정보 저장", description = "온보딩에서 유저 정보를 저장하는 API 입니다.")
@PostMapping("/onboarding")
public CommonResponse<Void> saveMemberInfo(@Login Member member, MemberInfoRequest request) {

memberService.saveMember(member, request);
return new CommonResponse<>("유저의 기본 정보 저장 완료");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

오 이거 이전 커밋에서 저도 만들었는데 서지님 코드가 더 좋아보이네여.. 피그마 보니까 프로필 이미지도 받아야 할 것 같아서 멀티파트파일로 받았는데 여기에 프로필 이미지 받는것만 추가해주시고 제 코드는 지워주시면 감사하겠습니다!(run.backend.domain.auth.controller -> signup)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

헉!! 아 저 과정을 회원가입의 일부로 생각하셨군요..!
일단 저는 회원가입 + 로그인 끝나고 그냥 기본 정보 입력하는 느낌으로 생각했는데..회원가입 과정에 포함시키는게 더 좋을까요?

Comment on lines +14 to +19
@Query("""
SELECT jc.crew
FROM JoinCrew jc
WHERE jc.member.id = :memberId
AND jc.joinStatus = :status
""")
Copy link
Contributor

Choose a reason for hiding this comment

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

이게 쿼리dsl이구나~ 참고하겠습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

쿼리dsl은 아직.. ㅠㅜ 설정 추가하면 쿼리 dsl로 바꿀라구요!


@Component
@RequiredArgsConstructor
public class LoginArgumentResolver implements HandlerMethodArgumentResolver {
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.

헉 네네 좋아요!!

@github-actions
Copy link

Test Coverage Report

Overall Project 45.5% -3.41% 🍏
Files changed 38.82%

File Coverage
MemberServiceImpl.java 100% 🍏
MemberInfoResponse.java 100% 🍏
Member.java 75% -25%
MemberInfoRequest.java 0%
JoinCrew.java 0% 🍏
MemberException.java 0%
MemberErrorCode.java 0%
MemberController.java 0%

@choiseoji choiseoji merged commit 3d6ddb6 into develop Jul 14, 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