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/YAF-000] 사용자 등록/조회 연결을 진행합니다. #112

Merged
merged 16 commits into from
Feb 12, 2025

Conversation

MoonsuKang
Copy link
Member

Related issue 🛠

closed #110

어떤 변경사항이 있었나요?

  • 🐞 BugFix Something isn't working
  • 🎨 Design Markup & styling
  • 📃 Docs Documentation writing and editing (README.md, etc.)
  • ✨ Feature Feature
  • 🔨 Refactor Code refactoring
  • ⚙️ Setting Development environment setup
  • ✅ Test Test related (Junit, etc.)

CheckPoint ✅

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 컨벤션에 맞게 작성했습니다. (필수)
  • merge할 브랜치의 위치를 확인해 주세요(main❌/develop⭕) (필수)
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다. (필수)
  • BugFix의 경우, 버그의 원인을 파악하였습니다. (선택)

Work Description ✏️

  • 바텀시트에서 사용자 정보 POST
  • POST하면 서버에서 숫자 하나 내려주는데 이거 datastore에 userId로 save
  • 온보딩 마지막 페이지에서 온보딩 boolean값 datastore에 담기
  • 온보딩 완료하면 그 이후부터 홈 화면으로
  • 홈-세팅화면 연결
  • 세팅, 정보수정 페이지에서 유저정보 Fetch

Uncompleted Tasks 😅

  • Task1

To Reviewers 📢

private val apiService: ApiService,
) : UserInfoDataSource {
override suspend fun getUserInfo(userId: Long): Result<UserResponse> {
return safeApiCall { apiService.getUserInfo(userId) }
Copy link
Member

Choose a reason for hiding this comment

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

[p3]
이 친구는 예외처리 안한 이유가??

Copy link
Member Author

@MoonsuKang MoonsuKang Feb 12, 2025

Choose a reason for hiding this comment

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

제가 좋아하는 명언이 있습니다.
"예외처리는 성능때문에 뺐다" 라는 말인데요. 그래서 저도 뺐습니다. 라고하면 안되겠죠~? ㅋㅋ
safeApiCall 내부에서 예외가 발생하면 Result.failure(exception)이 반환되는 구조라 예외처리를 안했는데. 생각해보니까
성공해도 body가 null로 넘어올때의 예외처리를 해야될 것 같네용 아닌가? null이 오는 경우가 없나요? 허,,

Copy link
Member

@DongChyeon DongChyeon left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

@MoonsuKang MoonsuKang merged commit a530a66 into develop Feb 12, 2025
1 check passed
@DongChyeon
Copy link
Member

DongChyeon commented Feb 13, 2025

default.mp4

오류 발견이용....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 사용자 등록/조회 연결을 진행합니다.
2 participants