Skip to content

Conversation

@johnbosco0414
Copy link
Collaborator

@johnbosco0414 johnbosco0414 commented Oct 13, 2025

제목(필수): [TYPE]: 제목 예) [FEAT]: 회원가입 기능 추가

제목 규칙 자세히 보기
  • 형식: [TYPE]: 제목
  • 제한: 50자 이내, 첫 글자 대문자, 명령문
  • TYPE: FEAT FIX REFACTOR COMMENT STYLE TEST CHORE INIT

무엇을 / 왜

  • 무엇(What): ScenarioService의 검증로직의 코드를 부분수정했습니다.
  • 왜(Why): 기존 코드에서 발생하는 LazyInitializaionException을 해결하기위함입니다.

어떻게(요약) — 3줄 이내

  • ensureSameLine에서 findWithLineAndUserById 사용
  • DecisionLine과 User를 기존 Repository코드를 이용하여 EAGER 로딩하여 Lazy Loading 문제 해결
  • 모든 검증 로직은 그대로 유지

영향 범위

  • API 변경
  • DB 마이그레이션
  • Breaking Change
  • 보안/권한 영향
  • 문서/가이드 업데이트 필요

체크리스트

  • 타입 라벨 부착 (FEAT/FIX/REFACTOR/COMMENT/STYLE/TEST/CHORE/INIT)
  • 로컬/CI 테스트 통과
  • 영향도 점검 완료
  • 주석/문서 반영(필요 시)

ToDo (선택)

  • 할 일 1
  • 할 일 2

스크린샷/증빙(선택)

이슈 연결 (자동)

Closes #119

@johnbosco0414 johnbosco0414 self-assigned this Oct 13, 2025
@johnbosco0414 johnbosco0414 added the FIX 버그 수정 label Oct 13, 2025
Copy link
Collaborator

@lcs9317 lcs9317 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

Copy link
Collaborator

@Gooraeng Gooraeng left a comment

Choose a reason for hiding this comment

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

확인했습니다! 감사합니다

Copy link
Collaborator

@shihan00321 shihan00321 left a comment

Choose a reason for hiding this comment

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

확인했습니다!

@johnbosco0414 johnbosco0414 merged commit 8cdb7a2 into main Oct 13, 2025
3 checks passed
@lcs9317 lcs9317 deleted the lazyinitializationexceptionFix branch October 13, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FIX 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX]: LazyInitializationException 해결 - FETCH JOIN 적용

5 participants