refactor: 커뮤니티 관련 패키지 구조 개선 #185
Merged
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.
관련 이슈
작업 내용
기존에는 board, comment, post 패키지가 각각 분리되어 있었어서 이를 community 패키지로 통합하여 관리하도록 수정하였습니다.
리뷰 요구사항 (선택)
한 곳에서 관리하는 게 무조건 좋다고 생각했었는데 패키지가 너무 나눠진 거 같다는 생각도 들긴하네요. 컨트롤러를 예시로 community -> controller -> post -> postController로 가는데 괜찮은가요? 저는 유지보수나 작업을 생각했을 때 계층이 더 나눠지긴 해도 중간에 post가 들어가는 게 더 좋다고 생각했습니다.