Repository navigation
[#24] refactor: DTO 의존성 제거 - #30
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
roam-f-lab
requested changes
Nov 19, 2026
roam-f-lab
requested changes
Nov 19, 2026
- 서비스가 PerformanceInfo와 총 판매 수량을 따로 받아 웹 계층에 기대지 않음 - 등록도 같은 값 객체를 받도록 맞추고 판매 기간 생성을 Performance로 옮김 - 등록과 수정에 함께 쓰이도록 PerformanceUpdate를 PerformanceInfo로 이름 변경
- accept-float-as-int를 꺼서 요청값 형식 오류로 거절 - 상세 API 명세의 정수 필드 타입을 integer로 변경
Kming9
force-pushed
the
refactor/24-service-without-request-dto
branch
from
November 19, 2026 11:30
1e86ca3 to
ef6d1d4
Compare
|
roam-f-lab
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



개요
PerformanceRequest)에 기대지 않도록 관심사 분리작업 내용
PerformanceUpdate를PerformanceInfo로 변경register(PerformanceRequest)→register(PerformanceInfo info, int totalQuantity)update(Long, PerformanceRequest, IfMatch)→update(Long, PerformanceInfo info, int totalQuantity, IfMatch)Performance.create가SalePeriod대신PerformanceInfo를 받도록 변경SalePeriod)을 조립하던 코드를 제거하고Performance내부에서 생성하도록 변경테스트
참고 사항