Closed ndy2 closed 2 years ago
241 tests ±0 241 :heavy_check_mark: ±0 1m 4s :stopwatch: +14s 73 suites ±0 0 :zzz: ±0 73 files ±0 0 :x: ±0
Results for commit 02cf42c6. ± Comparison against base commit dd837e06.
:recycle: This comment has been updated with latest results.
🛠️ 작업 내용
follow 에서 id 만 가지게 하기
fixture monkey 를 테스트 해보고 있는데 프로필 생성에 팔로우가 필요하고 팔로우 생성에 프로필이 필요해서 stack overflow 가 발생하더라고요 fixture monkey 를 잘 쓰면 적절 하게 탐색하거나 null 을 바인딩 해주는 방법으로 해결 할 수는 있겠지만 저는 뉴비기도 하고 해서 follow 에 profile 참조가 필요한가 살펴 보았는데 사용되는 곳이 없더라고요 그래서 id 만 가지도록 변경하였습니다.
변경 하면서 profile 조회의 joinIf 구문을 없앴습니다. 찬찬히 보니까 join 이 필요 없는 로직 이었어요