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.
구조 변경에 대해 용이하게 논의하기 위해 repository와 service의 의존성이 무분별하게 섞여 있던 것을 최대한 service로 통일하도록 했습니다.
Recipe는 User의 소유물입니다. 그래서 UserService는 RecipeService로만 동작합니다.
그런데 부득이하게 Recipe가 User를 알아야 할 때(생성할 때 등)가 있습니다. 그런 경우에는 UserRepository를 이용하도록 했습니다.
그래서 소유 관계를 생각하며 확인해주시면 되겠습니다~
관련해서 의견 자유롭게 주세요!
closes #452