-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Feature] Poke-Notification 뷰 구현, 데이터 연결 완료 #333
[Feature] Poke-Notification 뷰 구현, 데이터 연결 완료 #333
Conversation
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.
고생하셨습니다 ! ! 🙇🏻♀️
엄청난 코드양이군요 ,, 👀
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.
수고하셨습니다~~~!!
|
||
self.userId = try container.decode(Int.self, forKey: .userId) | ||
self.playgroundId = try container.decode(Int.self, forKey: .playgroundId) | ||
self.profileImage = try container.decodeIfPresent(String.self, forKey: .profileImage) ?? "" |
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.
이렇게 바꾼건 API Response에서 profileImage가 nil일 때 디코딩 fail이 발생하는 것을 방지하기 위한 것일까요?
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.
네 마자요 하나의 디코딩만 실패하도록 하는거에요~~
🌴 PR 요약
Poke-Notification 뷰 구현, 데이터 연결 완료하는 PR이에요 ~ #332 위에 쌓은거라서 332가 먼저 머지되어야 해요
🌱 작업한 브랜치
🌱 PR Point
TODO
DONE
📌 참고 사항
📸 스크린샷
📮 관련 이슈