Uh oh!
There was an error while loading. Please reload this page.
FIX : 아이 정보 응답에 빠져 있던 특이사항 - #96
Merged
Merged
Conversation
ChildInfoResponse 에 specialNeeds 가 없었다. 등록·수정 요청(ChildCreateRequest)은 이 값을 받는데 응답에는 없어서, 수정 화면이 현재 값을 읽어올 방법이 없었다. updateChild 는 전체 교체다. child.setSpecialNeeds(request.getSpecialNeeds()); // 조건 없이 덮어쓴다 그래서 클라이언트가 이름만 바꿔 보내면 특이사항이 null 로 지워졌다. 알레르기·기저질환처럼 지워지면 곤란한 값이라 응답에 실어 되돌려줄 수 있게 한다. 회귀 테스트를 붙였다. 380 tests, 0 failures.
9 tasks
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 24, 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 freeto 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.
🏫 관련 이슈
Closes#95
🏫 PR 타입
🏫 반영 브랜치
fix/child-special-needs-response->main🏫 변경 사항
ChildInfoResponse에specialNeeds가 없었다.등록·수정 요청인
ChildCreateRequest는 이 값을 받는데 응답에만 빠져 있어서,수정 화면이 현재 값을 읽어올 방법이 없었다.
ChildService.updateChild가 전체 교체라는 점이 겹쳐서 데이터가 유실된다.클라이언트가 이름만 고쳐 보내면 특이사항이
null로 지워진다.알레르기·기저질환처럼 지워지면 곤란한 값이라 조용한 유실이 특히 나쁘다.
응답에 필드를 실어 클라이언트가 현재 값을 되돌려줄 수 있게 했다.
ChildInfoResponsespecialNeeds필드 추가ChildMapperChildMapperTest🏫 테스트 결과
ChildMapperTest4건 추가.nullupdatedAt이null이어도 터지지 않는다🏫 To Reviewer
CareCode_FE)에도specialNeeds를 반영해야 한다.전체 교체 방식의 수정 API 가 여럿이라 같은 유실이 반복될 수 있다.