[feat] 소셜 로그인 회원가입 설문 및 추가 정보 등록 로직 통합 및 설문 question 필드 제거 #99
Merged
LEEDONGH00N merged 7 commits intowith-travel:developfrom Aug 8, 2025
Merged
[feat] 소셜 로그인 회원가입 설문 및 추가 정보 등록 로직 통합 및 설문 question 필드 제거 #99LEEDONGH00N merged 7 commits intowith-travel:developfrom
LEEDONGH00N merged 7 commits intowith-travel:developfrom
Conversation
LEEDONGH00N
reviewed
Aug 6, 2025
| import java.util.List; | ||
|
|
||
| @Getter | ||
| @Setter |
| @Setter | ||
| public class SignupWithSurveyRequestDto { | ||
|
|
||
| @Valid @NotNull |
Contributor
There was a problem hiding this comment.
@Valid는 컨트롤러에서 메서드 파라미터 검증할 때 사용하는 어노테이션이라서 여기서는 사용하지 않아도 됩니다.
Comment on lines
+13
to
+20
| @Service | ||
| @RequiredArgsConstructor | ||
| public class SignupFacadeService { | ||
|
|
||
| private final MemberSignupService memberSignupService; | ||
| private final SurveyService surveyService; | ||
| private final MemberRepository memberRepository; | ||
|
|
Contributor
There was a problem hiding this comment.
현재 파사드 패턴을 적용하신걸로 보이는데, 이보단 MemberSignUpService에서 MemberRepository와 SurveyRepository를 사용해 정보를 저장하는걸 추천드립니다.
Comment on lines
+29
to
+31
| Member member = memberRepository.findByEmail(email) | ||
| .orElseThrow(() -> new IllegalStateException("Member not found")); | ||
| member.markAdditionalDataChecked(); |
Contributor
There was a problem hiding this comment.
다른 Service에서 memberRepository.findByEmail(email) 또는 loadMemberOrThrow 메서드를 참고해서 수정해주세요
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이슈
최종 변경 사항 (요약)
상세 변경 및 근거
1. /signup/register 통합 처리 MemberSignupService로 일원화
무엇을 바꿨나
왜 바꿨나
→ 순환 의존 가능성 축소, 테스트/리뷰 포인트가 한 곳으로 집중
2. 설문 완료 시 additionalDataChecked = true
무엇을 바꿨나
왜 바꿨나
3. Survey 엔티티에서 question 제거
무엇을 바꿨나
왜 바꿨나
4. Member 생성자 초기화 누락 버그 수정
무엇을 바꿨나
왜 바꿨나
5. request DTO 리팩토링
무엇을 바꿨나
왜 바꿨나
** pr 리뷰를 통한 변경사항 (Facade → 일원화)**