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

[REFACTOR] 모든 서비스 로직에 transactional 적용하기 #830

Open
HoeSeong123 opened this issue Oct 19, 2024 · 0 comments
Open
Assignees
Labels
BE 백엔드 refactor 요구사항이 바뀌지 않은 변경사항

Comments

@HoeSeong123
Copy link
Contributor

📌 어떤 기능을 리팩터링 하나요?

모든 서비스에 트랜잭션을 적용한다. write를 기본으로 하고, 필요한 부분에 readOnly를 적용한다.
이렇게 하는 이유는 readOnly를 기본으로 하는 경우, write 작업을 하는 메소드에 실수로 트랜잭션을 붙이지 않으면 에러가 발생한다.
이러한 휴먼 에러를 방지하기 위해 write를 기본으로 한다.

⏳ 예상 소요 시간 (예상 해결 날짜)

30분

@HoeSeong123 HoeSeong123 added refactor 요구사항이 바뀌지 않은 변경사항 BE 백엔드 labels Oct 19, 2024
@HoeSeong123 HoeSeong123 added this to the 6차 스프린트 🦴 milestone Oct 19, 2024
@HoeSeong123 HoeSeong123 self-assigned this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE 백엔드 refactor 요구사항이 바뀌지 않은 변경사항
Projects
Status: Todo
Development

No branches or pull requests

1 participant