Skip to content

Conversation

@rinarina0429
Copy link
Member

@rinarina0429 rinarina0429 commented Apr 4, 2025

Related Issue

Key Changes

기존에 같은 User와 Novel을 가진 UserNovel이 존재한다면 중복이 처리되도록 로직을 설계해뒀으나, 요청이 동시에 들어올 경우 중복을 처리하지 못하는 이슈가 발생하였습니다. 이에 DB 단에서 해당 중복을 방지할 수 있도록 하였습니다.

  • 작품평가 생성
  • 작품 관심 등록

두가지 경우에 예외처리 또한 수정하였습니다.

To Reviewers

References

@rinarina0429 rinarina0429 self-assigned this Apr 4, 2025
@github-actions github-actions bot requested review from ChaeAg and Kim-TaeUk April 4, 2025 13:35
Copy link
Member

@sansan20535 sansan20535 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~~ 확인했습니다 : )

Copy link
Contributor

@GiJungPark GiJungPark left a comment

Choose a reason for hiding this comment

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

유니크 제약조건으로 중복 가능성을 배제하신 코드 확인했습니다!
최대한 기존 디비나 코드에 영향을 끼치지 않는 선에서 깔끔하게 해결하신것 같아요!😄

Copy link
Contributor

@EunjeongHeo EunjeongHeo left a comment

Choose a reason for hiding this comment

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

확인했습니다!!
수고하셨습니다.

@rinarina0429 rinarina0429 merged commit cfb9263 into dev May 23, 2025
1 check 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.

[FIX] UserNovel 중복 등록 방지

5 participants