Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOTFIX] NovelStatisticsService에서 NovelService 참조 로직 제거 #63

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

ChaeAg
Copy link
Member

@ChaeAg ChaeAg commented Jun 10, 2024

Related Issue

Key Changes

NovelStatisticsServiceNovelService 클래스 간 서로를 참조하고 있어, 발생하는 순환참조를 제거했습니다.

제거 방법은 NovelStatisticsService클래스에서 NovelService 참조를 제거하고,

FeedService에서 NovelStatisticsService에게 Novel 엔티티 자체를 파라미터로 전달하는 식으로 로직을 변경해,

순환참조를 없앴습니다.

To Reviewers

X

References

X

Copy link
Contributor

@rinarina0429 rinarina0429 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

결국 novelId로 novel을 받게 되었네요. 이렇게 변경하니 순환참조가 없어지는군요! 수고하셨습니다~

@Kim-TaeUk Kim-TaeUk merged commit 97c2606 into dev Jun 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HOTFIX] NovelStatisticsService와 NovelService 클래스 간 순환참조 제거
3 participants