Refactor/161 : Facade 도입 & 클래스 의존관계 개선 #162
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.
🚀 개요
#161
기존의 전형적인 3계층 구조는 아래와 같은 문제점을 가지고 있었습니다.
🔍 변경사항
Controller와 Service 사이에 Facade 계층을 추가했습니다. (4계층 구조입니다.)
Controller)
Facade)
Service)
📝 논의사항
API 버전관리에 따라 Facade에 중복코드가 두 개의 메소드 정도에 있는데, 해결할 방안을 고민해보겠습니다. 이 부분은 추후 다른 이슈로 다루겠습니다.