Repository navigation
fix: 선택 값을 비울 수 있게 하고 사망확인 상태에 승인 시각을 넣는다 - #313
Merged
Merged
Conversation
수신자 메시지와 프로필 연락처·사진은 한 번 저장하면 없는 상태로 되돌릴 수 없었다. 사망확인 상태 응답에는 기록함이 이미 가진 승인 시각이 없었다. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
PATCH /users/receivers/{id}/message)에서@NotNull을 빼,null·공백이면 조회가message: null인 없는 상태로 돌아가게 한다. 키를 생략하면 기존 글을 유지한다 ([fix] 수신자 메시지를 수정한 뒤 원래 null 상태로 복구할 수 없음 #308).PATCH /users/me)도 키를 보내면 비우고, 빼면 유지한다. 이름은 공백이면 그대로 400이다 ([fix] 선택 필드 phone·profileImageUrl 을 비울 수단이 없다 — PATCH /users/me 가 null·blank 를 모두 «미변경» 으로 삼킨다 #260).approvedAt을 넣고, 서류 제출 응답의createdAt이 flush 전에null로 나가지 않게 한다 ([fix] delivery-verification/status 응답에 승인 일시 부재 — record-boxes 와 계약 불일치 #96).Fixes #308
Fixes #260
Fixes #96
Test plan
UserServiceUpdateReceiverMessageTest— 값 수정,null·공백 비우기, 키 생략 유지UserServiceUpdateProfileTest— 전화·사진 비우기, 이름만 수정 시 유지, 공백 이름 400DeliveryVerificationResponseTest— 승인 전·거절은approvedAtnull, 승인은updatedAt{"message":null}후 수신자 상세가message: null{"phone":null}후GET /users/me의 phone이 null, 이름은 유지GET .../delivery-verification/status에approvedAt이 있음Made with Cursor