Skip to content
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

[Feat] 마이페이지 유저 정보 조회 #166

Merged
merged 4 commits into from
Dec 12, 2022
Merged

[Feat] 마이페이지 유저 정보 조회 #166

merged 4 commits into from
Dec 12, 2022

Conversation

heoboseong7
Copy link
Collaborator

  1. 마이 페이지 유저 정보 조회
    • userId를 통한 마이 페이지 조회
    • 문서화용 테스트
  2. SecurityConfig SIGNUP_URL 수정
    • ~/user/** -> ~/user/*로 수정
  3. 팔로우 토글의 isFollowing 파라미터 id 순서 수정

Comment on lines 16 to 17
private List<String> interests;
private Boolean isFollow;
Copy link
Collaborator

@Youhoseong Youhoseong Dec 11, 2022

Choose a reason for hiding this comment

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

지금까지 팔로우 관련은 primitive한 boolean으로 나가고 있을거라 Json으로 변환되면

follow로 나갈건데요 통일하는건 어때요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

아하 통일하는거로 할게요

Comment on lines 46 to 47
Long followingCount = profileDomainService.getFollowingCount(targetUser);
String challengeName = challengeDomainService.findCurrentParticipationWithChallenge(targetId)
Copy link
Collaborator

Choose a reason for hiding this comment

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

엔터 플리즈 ㅜ

Comment on lines +134 to +135

ResultActions resultActions = mockMvc.perform(get("/api/v1/user/profile/{targetId}", 1L)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Url에 user떼고싶다 까비..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

저도 여기 하면서 컨트롤러들이 너무 도메인 중심으로 나눠진 것 같더라구요 ㅠ
마이 페이지 관련 부분을 아예 MyPageController로 만들어 보는건 어떨까요?

Copy link
Collaborator

Choose a reason for hiding this comment

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

페이지 단위로 컨트롤러를 떼는건 현재 저희 구조랑 잘 맞아보이진 않는거같아요 ㅜ

일단 이러케..

@heoboseong7 heoboseong7 merged commit 0844c03 into main Dec 12, 2022
@Youhoseong Youhoseong deleted the issue-#162 branch April 22, 2023 21:17
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.

[Feat] 마이페이지 유저 정보 조회
2 participants