Skip to content

fix: V2 장부 생성 시 카테고리 선택을 optional로 변경#17

Closed
pott-101 wants to merge 1 commit intoMONEYMONG:devfrom
pott-101:fix/optional-category-on-ledger-creation
Closed

fix: V2 장부 생성 시 카테고리 선택을 optional로 변경#17
pott-101 wants to merge 1 commit intoMONEYMONG:devfrom
pott-101:fix/optional-category-on-ledger-creation

Conversation

@pott-101
Copy link
Contributor

Summary

  • V2 장부 생성 API에서 카테고리를 선택하지 않았을 때 404 에러가 발생하는 문제 수정
  • category가 null이거나 빈 문자열일 경우 카테고리 조회를 건너뛰고 null로 저장되도록 변경
  • 엔티티, 응답 DTO 모두 nullable category를 지원하므로 설계 의도에 부합

Test plan

  • V2 장부 생성 API에서 category 없이 호출 시 정상 생성 확인
  • V2 장부 생성 API에서 유효한 category 전달 시 기존과 동일하게 동작 확인
  • V2 장부 생성 API에서 존재하지 않는 category 전달 시 404 에러 확인

🤖 Generated with Claude Code

카테고리가 null이거나 빈 문자열일 때 404 에러 대신 category를 null로 설정하여
장부를 생성할 수 있도록 변경

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pott-101 pott-101 closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant