woowacourse-teams/2022-mo-rak

OAuthService Transaction 을 수정한다.

leo0842 opened this issue · 0 comments

(필수) 구현한 기능의 commit id 혹은 issue 번호를 명시한다.

(필수) 리팩토링할 대상 혹은 작업 내용을 명시한다.

  • 현재 service 단에 @Transactional 어노테이션이 달려있다.
    • singin() 은 github api 를 이용하는데, 이 때 에러가 터지면 Transaction 을 어떡할지 고민해본다.
    • findMember() 할 때는 readOnly=true 옵션이 적절해 보인다.