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] 타 유저 프로필 조회 기능 구현 #133

Merged
merged 11 commits into from
Aug 8, 2024
Merged

[FEAT] 타 유저 프로필 조회 기능 구현 #133

merged 11 commits into from
Aug 8, 2024

Conversation

Kim-TaeUk
Copy link
Contributor

Related Issue

Key Changes

  • 간단한 API입니다.
  • 프로필 정보에 해당하는 리소스를 response로 반환합니다.

비회원인 경우 User user = null;
내 프로필인지 나타내는 flag 변수 isMyProfile
내 프로필 조회인 경우 분기 처리
Copy link
Contributor

@rinarina0429 rinarina0429 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~ 리뷰 확인 부탁드려요!

isMyProfile을 첫번째 파라미터로
from 확인 후 분기해서 return 처리
to isOwner 변수로 분리하여 of메서드에 아규먼트로 넘기는 방식
avatarRepository에서 avatarId로 조회, 없으면 CustomAvatarException throw
Copy link
Member

@ChaeAg ChaeAg left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!! 😆
코멘트 하나 남겼어용!

@Kim-TaeUk Kim-TaeUk requested a review from ChaeAg August 7, 2024 17:34
@ChaeAg
Copy link
Member

ChaeAg commented Aug 8, 2024

굿입니다!!

@Kim-TaeUk Kim-TaeUk merged commit a428668 into dev Aug 8, 2024
1 check passed
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] 타 유저 프로필 조회 기능 구현
3 participants