Skip to content

[Feat] #20 - NovelReview Domain 모듈 추가#26

Merged
Naknakk merged 8 commits intodevelopfrom
Feat/#20
Feb 20, 2026
Merged

[Feat] #20 - NovelReview Domain 모듈 추가#26
Naknakk merged 8 commits intodevelopfrom
Feat/#20

Conversation

@Naknakk
Copy link
Copy Markdown
Collaborator

@Naknakk Naknakk commented Feb 8, 2026

💡 Issue

closed #20

💭 Summary

  • Novel Review 작품 평가
    • 기존 작품 평가 조회
    • 작품 평가 편집 규칙 - 저장
    • 작품 평가 삭제

@Naknakk Naknakk linked an issue Feb 8, 2026 that may be closed by this pull request
@Naknakk Naknakk self-assigned this Feb 8, 2026
@Naknakk Naknakk requested a review from Guryss February 8, 2026 05:21
@Guryss Guryss requested review from Guryss and removed request for Guryss February 8, 2026 09:46
Copy link
Copy Markdown
Member

@Guryss Guryss left a comment

Choose a reason for hiding this comment

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

확인했습니다 👍

혹시 테스트 함수명은 한글로 정의하는 부분은 어떨까요??

Comment on lines +11 to +13
public struct Keyword: Equatable, Identifiable, Hashable {
public let id: Int
public let name: String
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

해당 Keyword 구조체는 Keyword 모듈에서 정의하는 편이 좋으니 추후 합치면 좋겠네요

+) id는 KeywordID 같은 Value Object로 감쌀 필요가 없을까요?!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Keyword ID는 이미 Keyword 내부에 있기도 하고, 한 번 서버에서 받아온 값을 매핑하면 그 뒤에 편집이 없기 때문에 괜찮을 것 같습니다! 매핑하면 휴먼 에러를 줄일 수 있는데, 이 경우 줄일 휴먼 에러 자체가 없을 것 같아서요!

Keyword 구조체는 여기저기서 쓰이니 Keyword 모듈보다 BaseDomain에 두는게 어떨까요?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

글케하시죠

Comment on lines +11 to +14
public struct Rating: Equatable {
public let value: Double

// MARK: - Policy
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

해당 구조체도 BaseDomain에 넣어도 좋겠네요

이 Rating에 대한 write는 NovelReview에서만 진행하고, 이 외에서의 모듈에서는 read만 진행하니 사용해도 괜찮겠군요!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

테스트 함수명은 Setting Domain 작성 시에 함께 수정해두었습니다
나머지는 메인 풀 받은 다음 반영해둘게요 !!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

감삼다!

@Naknakk Naknakk merged commit 3a48f55 into develop Feb 20, 2026
@Naknakk Naknakk deleted the Feat/#20 branch February 28, 2026 06:31
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.

[Feat] NovelReview Domain 모듈 생성

2 participants