-
Notifications
You must be signed in to change notification settings - Fork 0
Feat: 회원 정보 저장, 조회 API 개발 #15
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
Conversation
Test Coverage Report
|
west-eastH
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
서지님 취업해도 되겠다👍
| @Operation(summary = "유저 정보 저장", description = "온보딩에서 유저 정보를 저장하는 API 입니다.") | ||
| @PostMapping("/onboarding") | ||
| public CommonResponse<Void> saveMemberInfo(@Login Member member, MemberInfoRequest request) { | ||
|
|
||
| memberService.saveMember(member, request); | ||
| return new CommonResponse<>("유저의 기본 정보 저장 완료"); | ||
| } |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헉!! 아 저 과정을 회원가입의 일부로 생각하셨군요..!
일단 저는 회원가입 + 로그인 끝나고 그냥 기본 정보 입력하는 느낌으로 생각했는데..회원가입 과정에 포함시키는게 더 좋을까요?
| @Query(""" | ||
| SELECT jc.crew | ||
| FROM JoinCrew jc | ||
| WHERE jc.member.id = :memberId | ||
| AND jc.joinStatus = :status | ||
| """) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이게 쿼리dsl이구나~ 참고하겠습니다.
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
참고해서 크루도 이런식으로 만들어둘까요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헉 네네 좋아요!!
Test Coverage Report
|
✨ 연관된 이슈
📝 작업 내용 (주요 변경 사항)
💬 리뷰 요구사항