feat: 게시글 카테고리에 동행, 중고거래 추가#765
Closed
sukangpunch wants to merge 2 commits into
Closed
Conversation
- PostCategory enum에 동행, 중고거래 추가 - post 테이블 category ENUM 컬럼 마이그레이션 (V52) - 신규 카테고리 게시글 생성 및 카테고리별 조회 필터링 테스트 추가 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
whqtker
reviewed
Jun 17, 2026
|
|
||
| @ParameterizedTest | ||
| @ValueSource(strings = {"자유", "질문", "동행", "중고거래"}) | ||
| @Transactional |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
Walkthrough이번 PR은 세 가지 변경으로 구성됩니다.
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or 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
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.
관련 이슈
작업 내용
게시글 카테고리(
PostCategory)에 동행, 중고거래 두 가지를 추가했습니다.PostCategoryenum에동행,중고거래추가post테이블categoryENUM 컬럼에 신규 값 추가 마이그레이션 (V52)PostCommandServiceTest: 신규 카테고리로 게시글 생성 (@ValueSource에동행,중고거래추가)PostQueryServiceTest:동행/중고거래카테고리별 조회 필터링 검증특이 사항
PostCategory.values()기반으로 동적 동작하므로, enum 값 추가만으로 생성/조회 로직에 자동 반영됩니다. 별도 서비스/리포지토리 로직 수정은 필요하지 않습니다.category컬럼은@Enumerated(EnumType.STRING)으로 문자열 저장되며, 마이그레이션의 ENUM 값과 enum 이름이 일치합니다.