-
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
Hotfix | #81 | @YongsHub | v1.0.1 출시 위해 Query Transform 리팩토링 #88
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cebc72c
fix: QueryDSL Config 수정
YongsHub b89619a
refactor: Diary 쿼리 transform 변경 및 DTO 생성 방법 리팩토링
YongsHub 5f7a4f2
refactor: 쿼리 변경으로 인한 로직 리팩토링
YongsHub 51a901a
test: DTO 변경으로 인한 테스트 코드 수정
YongsHub e7fb0ce
refactor: ktlint 적용
YongsHub 139df87
refactor: DiarySimpleResponse로 리팩토링
YongsHub 7741533
test: 유저의 다이어리 전체 조회 및 날짜별 조회 리팩토링
YongsHub 38aaf10
refactor: ktlint 적용
YongsHub c62fa25
feat: Business Exception 추가
YongsHub 251ac82
refactor: ktlint 적용
YongsHub File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
lovebird-api/src/main/kotlin/com/lovebird/api/dto/response/diary/DiarySimpleListResponse.kt
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
lovebird-api/src/main/kotlin/com/lovebird/api/dto/response/diary/DiarySimpleResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.lovebird.api.dto.response.diary | ||
|
||
import com.lovebird.domain.dto.query.DiaryResponseParam | ||
|
||
data class DiarySimpleResponse( | ||
val diaries: List<DiaryResponseParam>, | ||
val totalCount: Int = diaries.size | ||
) { | ||
companion object { | ||
fun of(diaries: List<DiaryResponseParam>): DiarySimpleResponse { | ||
return DiarySimpleResponse(diaries) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
DiaryResponse와 DiarySimpleResponse의 return value들이 기존에 달랐던걸 인지하지 못하고 통합해버려서 원래대로 다시 분리했습니다!