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

Implement Transaction util #1

Open
mokhs00 opened this issue Sep 15, 2024 · 0 comments
Open

Implement Transaction util #1

mokhs00 opened this issue Sep 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mokhs00
Copy link
Member

mokhs00 commented Sep 15, 2024

Summary

  • Transaction을 Service layer에서 묶을 수 있도록 유틸 코드 추가가 필요합니다. (자세한 내용은 아래 참고)
    • https://gorm.io/docs/transactions.html <- 기본 tansaction 사용법은 gorm 문서를 참고하면 되는데, 이건 gorm.DB에 의존적이라 Repository layer에서는 자유롭게 사용 가능하지만 Service layer에서는 바로 사용하기 어려운 구조입니다.
    • 그래서 Service layer에서도 transaction을 자유롭게 쓸 수 있을만한 유틸이 필요하고 이를 위한 코드를 개발합니다.
@falconlee236 falconlee236 self-assigned this Sep 15, 2024
@falconlee236 falconlee236 added the enhancement New feature or request label Sep 15, 2024
@falconlee236 falconlee236 removed their assignment Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants