Repository navigation
feat: 이벤트별 인증 사진 필수 여부 - #168
Merged
Merged
Conversation
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.
무엇을
이벤트마다 인증 사진 필수 여부를 정할 수 있게 (프론트 F16 · F22용)
event.photo_required추가 (V10, NOT NULL DEFAULT TRUE — 기존 이벤트는 필수)photoRequired(없으면 true) · 수정photoRequired(보낸 경우만). 인증이 올라온 뒤에도 바꿀 수 있고, 이미 올라온 인증은 그대로photoRequired(운영 만들기 · 수정 응답은 상세 모양이라 함께 포함)photoKeys:@NotNull @Size(max = 3), 다시 올리기:@Size(max = 3)— 빈 목록 허용VALIDATION_FAILED(fieldphotoKeys, "이 이벤트는 사진이 필요합니다.")[]를 보내면 사진을 모두 뺀다(선택 이벤트만). 안 보내면 지금처럼 그대로테스트
[]→ 400 · 사진 유지[]로 다시 올리기 → 사진 없음