-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
heoboseong7
commented
Dec 11, 2022
- 마이 페이지 유저 정보 조회
- userId를 통한 마이 페이지 조회
- 문서화용 테스트
- SecurityConfig SIGNUP_URL 수정
- ~/user/** -> ~/user/*로 수정
- 팔로우 토글의 isFollowing 파라미터 id 순서 수정
- close [Feat] 마이페이지 유저 정보 조회 #162
private List<String> interests; | ||
private Boolean isFollow; |
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.
지금까지 팔로우 관련은 primitive한 boolean으로 나가고 있을거라 Json으로 변환되면
follow로 나갈건데요 통일하는건 어때요?
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.
아하 통일하는거로 할게요
Long followingCount = profileDomainService.getFollowingCount(targetUser); | ||
String challengeName = challengeDomainService.findCurrentParticipationWithChallenge(targetId) |
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.
엔터 플리즈 ㅜ
|
||
ResultActions resultActions = mockMvc.perform(get("/api/v1/user/profile/{targetId}", 1L) |
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.
Url에 user떼고싶다 까비..
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.
저도 여기 하면서 컨트롤러들이 너무 도메인 중심으로 나눠진 것 같더라구요 ㅠ
마이 페이지 관련 부분을 아예 MyPageController로 만들어 보는건 어떨까요?
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.
페이지 단위로 컨트롤러를 떼는건 현재 저희 구조랑 잘 맞아보이진 않는거같아요 ㅜ
일단 이러케..