-
Notifications
You must be signed in to change notification settings - Fork 4
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: 쪽지 관련 공통 코드 작성 #450
The head ref may contain hidden characters: "feat/#448_\uCABD\uC9C0_\uAD00\uB828_\uACF5\uD1B5_\uCF54\uB4DC_\uC791\uC131"
feat: 쪽지 관련 공통 코드 작성 #450
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.
크롱! 밤에 공통 코드 짜느라 고생 많았어요!!🦖
몇가지 수정해야 할 부분에 대해서 리뷰 남겼으니까 확인해주시면 됩니다!
공통 코드 쪽지 개발하면서 야무지게 잘 사용하도록 하겠습니다👍ㅋㅋㅋㅋ
@Query("latitude") latitude: String, | ||
@Query("longitude") longitude: String, |
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.
@Query("latitude") latitude: String, | |
@Query("longitude") longitude: String, | |
@Query("latitude") latitude: Double, | |
@Query("longitude") longitude: Double, |
노션을 보니 해당 쿼리 타입이 Double인 것 같아요!
아니면 String으로 해도 되는건가요?! 몰라서 물어봅니다!
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.
반영했습니다!
TODO("Not yet implemented") | ||
} | ||
|
||
override suspend fun fetchNearbyLetters(latitude: String, longitude: Coordinate): List<ClosedLetter> { |
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.
override suspend fun fetchNearbyLetters(latitude: String, longitude: Coordinate): List<ClosedLetter> { | |
// 1번 방식 | |
override suspend fun fetchNearbyLetters(latitude: Double, longitude: Double): List<ClosedLetter> { | |
// 2번 방식 | |
override suspend fun fetchNearbyLetters(coordinate: Coordinate): List<ClosedLetter> { |
이렇게 바뀌어야 할 것 같아요!
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.
반영했어요!
longitude: Coordinate, | ||
): OpenLetter | ||
|
||
suspend fun fetchNearbyLetters(latitude: String, longitude: Coordinate): List<ClosedLetter> |
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.
위의 리뷰와 마찬가지 입니다!🕺
|
||
import com.now.domain.model.type.LogType | ||
|
||
data class LetterLog( |
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.
삭제했습니다!
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.
LGTM~🦖
고생 많았어요! 굳굳!!!
📌 관련 이슈
🛠️ 작업 내용
🎯 리뷰 포인트
⏳ 작업 시간
추정 시간: 1h
실제 시간: 2h
어렵네요.. 도메인, DTO 짜는거..