-
Notifications
You must be signed in to change notification settings - Fork 1
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
refactor: Memory -> Category 도메인명 변경 및 API URI 변경 #595 #608
Open
Junyoung-WON
wants to merge
252
commits into
develop
Choose a base branch
from
feature/#595-change-memory-to-category
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
API 메서드의 파라미터명 변경 - memoryId -> categoryId - memoryRequest -> categoryRequest
API 메서드명 변경 - ...Memory -> ...Category - ...Memories -> ...Categories
CATEGORY_ID 상수 값 변경 - "/{categoryId}" -> "categoryId" CATEGORY_PATH_WITH_ID 상수 값 변경 - "$CATEGORIES_PATH$CATEGORY_ID" -> "$CATEGORIES_PATH/{$CATEGORY_ID}" CURRENT_DATE 상수 추가 - "currentDate" Path Parameter, Query Value 상수화 - CATEGORY_ID - CURRENT_DATE
메서드의 파라미터명 변경 - memoryId -> categoryId - newMemory -> newCategory
메서드명 변경 - ...Memory -> ...Category - getMemories -> getCategories
- memoryApiService -> categoryApiService
- MemoryRemoteDataSource -> CategoryRemoteDataSource
- memoryDataSource -> categoryDataSource
- memoryId -> categoryId - newMemory -> newCategory
- MemoryDefaultRepository -> CategoryDefaultRepository
- memories -> categories
- memoryId -> categoryId - memoryTitle -> categoryTitle
- memories -> categories
- memoryId -> categoryId - memoryTitle -> categoryTitle
- MemoriesResponse -> CategoriesResponse
- MemoryCandidateResponse -> CategoryCandidateResponse
- memoryId -> categoryId
- memoryId -> categoryId
- MemoryCreationResponse -> CategoryCreationResponse
- memoryThumbnailUrl -> categoryThumbnailUrl - memoryTitle -> categoryTitle
- memoryThumbnailUrl -> categoryThumbnailUrl - memoryTitle -> categoryTitle
- MemoryRequest -> CategoryRequest
- memoryId -> categoryId - memoryThumbnailUrl -> categoryThumbnailUrl - memoryTitle -> categoryTitle
- memoryId -> categoryId - memoryThumbnailUrl -> categoryThumbnailUrl - memoryTitle -> categoryTitle
- MemoryResponse -> CategoryResponse
- MemoryStaccatoDto -> CategoryStaccatoDto
- MemoryMapper -> CategoryMapper
TimelineResponse.toCategoryCandidates() 메서드 내부 변수명 변경 - memories -> categories
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - moments -> staccatos
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - moment -> staccato - momentImageUrl -> staccatoImageUrl
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentImageUrls -> staccatoImageUrls
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentId -> staccatoId
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentId -> staccatoId
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentLocationResponses -> staccatoLocationResponses
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentId -> staccatoId - momentImageUrls -> staccatoImageUrls
API URL 변경에 따라, serial name의 moment를 staccato로 변경 - momentImageUrls -> staccatoImageUrls
- momentImageUrls -> staccatoImageUrls
- momentImageUrls -> staccatoImageUrls
API URL의 변경에 따라, moment를 staccato로 변경 - moments -> staccatos - momentId -> staccatoId 동반객체 활용 - STACCATO_ID = "staccatoId" - STACCATO_PATH_WITH_ID = "$STACCATOS_PATH/{$STACCATO_ID}"
- moment -> staccato
feature/#595 branch에 develop branch의 최신 변경 사항을 반영
- import 알파벳 순서에 따라 재정렬 - 들여쓰기 조정 - line당 글자수 초과한 코드 개행 처리
- 업데이트할 기분을 String이 아닌 도메인 모델 Feeling으로 변경 - StaccatoDefaultRepository에서 toFeelingRequest Mapper 메서드 활용
2 tasks
- MemoryCandidateFixture -> CategoryCandidateFixture
- Memory -> Category - MemoryStaccato -> CategoryStaccato
hxeyexn
approved these changes
Jan 31, 2025
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.
도메인명 변경하시느라 정말 고생 많으셨습니다!!! memory를 category로 잘 바꿔주셨네요~
호두 덕분에 개발할 때 도메인명 때문에 혼동이 생기진 않겠네요~ 감사합니다! 🙇♂️
그나저나 커밋이 251개라니.. 역시 갓두🔥
URI에 남아있는 moment를 staccato로 변경 - 버저닝을 위해 comments 경로에 /v2 추가 - momentId -> staccatoId 로 변경
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
⭐️ Issue Number
🚩 Summary
AccountInformation
과MyProfile
을 제거했습니다.convertExcretaToFile
)의 이름을convertStaccatoUriToFile
로 변경했습니다.🙂 To Reviewer
📋 To Do