[REFACTOR] My Page, Article Detail Coordinator에 Adaptor Pattern 적용 (#159) #160
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.
🌱 작업한 내용
화면 전환 flow의 책임만 맡으면 되는 coordinator에서 viewcontroller에서의 user action까지 알게 되는 문제가 발생하였고, 그로인한 관심사 분리를 위해 adaptor pattern을 적용하게 되었습니다.
추가로 adaptor를 생성해 주는 로직을 기존의 factory 패턴에 추가함으로써, 생성 로직 또한 분리했습니다. 이 내용은 PR에서 놓친 부분이라 따로 커밋으로 작업했어요. -> [HOTFIX] My Pasge, Article Adator 생성 로직 분리
🌱 PR Point
📮 관련 이슈