Skip to content

Comments

[BE] 장바구니 추가 시 단건추가에서 List로 변경#320

Merged
kiteof-park merged 2 commits intodevelopfrom
be/feat/319
Apr 28, 2025
Merged

[BE] 장바구니 추가 시 단건추가에서 List로 변경#320
kiteof-park merged 2 commits intodevelopfrom
be/feat/319

Conversation

@soyun-i
Copy link
Contributor

@soyun-i soyun-i commented Apr 24, 2025

🚀 어떤 기능을 구현했나요 ?

  • 장바구니 추가 시 단건추가에서 List로 변경

🔥 어떤 문제를 마주했나요 ?

✨ 어떻게 해결했나요 ?

📝 어떤 부분에 집중해서 리뷰해야 할까요?

📚 참고 자료 및 회고

@soyun-i soyun-i added this to the 6차 마일스톤 milestone Apr 24, 2025
@soyun-i soyun-i self-assigned this Apr 24, 2025
Comment on lines 65 to 68
if (!stock.hasStock(totalQuantity))
throw new DomainException(ErrorType.INSUFFICIENT_STOCK);

cart.updateQuantity(totalQuantity);
Copy link
Contributor

Choose a reason for hiding this comment

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

동시성 문제가 있을 것 같은데 테스트 하셨나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

낙관적 락 추가하였습니다 테스트는 따로 브랜치 파서 진행하겠습니다!

🔗 Resolves: #be/feat/319
@kiteof-park kiteof-park merged commit 67aa550 into develop Apr 28, 2025
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.

3 participants